Cookie Store API: Remove unneeded delete() options

The 'secure' and 'sameSite' options were included for delete() calls
for symmetry with set(). Although they are used internally as inputs
into the cookie deletion process (which is a set with an expiry time
in the past) they do not have an observable effect as they are not
part of the "key" for cookies in the jar.

Remove 'em from the script-facing API, and just pass defaults through.

If passed, the options will be ignored, so this will have no affect on
code using the API unless the code is trying to specifically probe
option parsing.

GitHub issue: https://github.com/WICG/cookie-store/issues/77
GitHub PR: https://github.com/WICG/cookie-store/pull/81

Bug: 729800
Change-Id: I847293f5274abcb6335140f7f1bf4e2f6f2f8bcf
Reviewed-on: https://chromium-review.googlesource.com/1151723
Reviewed-by: Chase Phillips <cmp@chromium.org>
Commit-Queue: Joshua Bell <jsbell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#578400}
2 files changed