Commit 91784b8a authored by paritosh.in's avatar paritosh.in Committed by Commit bot

Removing prefixMatch attribute of CacheQueryOptions.

As get removed in latest specs, removing it.
spec: https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#cache-query-options-dictionary

PATCH 1: Chromium: [THIS PATCH]
PATCH 2: Blink: https://codereview.chromium.org/927723003/

BUG=462837

Review URL: https://codereview.chromium.org/941683002

Cr-Commit-Position: refs/heads/master@{#318842}
parent 6fdb1425
......@@ -75,7 +75,6 @@ IPC_STRUCT_TRAITS_BEGIN(content::ServiceWorkerCacheQueryParams)
IPC_STRUCT_TRAITS_MEMBER(ignore_search)
IPC_STRUCT_TRAITS_MEMBER(ignore_method)
IPC_STRUCT_TRAITS_MEMBER(ignore_vary)
IPC_STRUCT_TRAITS_MEMBER(prefix_match)
IPC_STRUCT_TRAITS_MEMBER(cache_name)
IPC_STRUCT_TRAITS_END()
......
......@@ -74,8 +74,7 @@ ServiceWorkerResponse::~ServiceWorkerResponse() {}
ServiceWorkerCacheQueryParams::ServiceWorkerCacheQueryParams()
: ignore_search(false),
ignore_method(false),
ignore_vary(false),
prefix_match(false) {}
ignore_vary(false) {}
ServiceWorkerBatchOperation::ServiceWorkerBatchOperation() {}
......
......@@ -149,7 +149,6 @@ struct CONTENT_EXPORT ServiceWorkerCacheQueryParams {
bool ignore_search;
bool ignore_method;
bool ignore_vary;
bool prefix_match;
base::string16 cache_name;
};
......
......@@ -88,7 +88,6 @@ ServiceWorkerCacheQueryParams QueryParamsFromWebQueryParams(
query_params.ignore_search = web_query_params.ignoreSearch;
query_params.ignore_method = web_query_params.ignoreMethod;
query_params.ignore_vary = web_query_params.ignoreVary;
query_params.prefix_match = web_query_params.prefixMatch;
query_params.cache_name = web_query_params.cacheName;
return query_params;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment