Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: content/common/service_worker/service_worker_types.cc

Issue 1108273002: Add Client Attribute to FetchEvent- Chromium Side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/service_worker/service_worker_types.cc
diff --git a/content/common/service_worker/service_worker_types.cc b/content/common/service_worker/service_worker_types.cc
index c6be99d9c7c797eff842c756d0a41fe397fd1e95..1e7cb8ca277a116fd27bbeab47abdb3d3b1cf39e 100644
--- a/content/common/service_worker/service_worker_types.cc
+++ b/content/common/service_worker/service_worker_types.cc
@@ -29,7 +29,8 @@ ServiceWorkerFetchRequest::ServiceWorkerFetchRequest(
const std::string& method,
const ServiceWorkerHeaderMap& headers,
const Referrer& referrer,
- bool is_reload)
+ bool is_reload,
+ const ServiceWorkerClientInfo& client)
jsbell 2015/05/06 16:53:43 nit: extra space
Paritosh Kumar 2015/05/07 12:03:13 I'm not sure this is extra space or just due to ne
jsbell 2015/05/07 16:09:48 There are two spaces after 'const' - should just b
Paritosh Kumar 2015/05/07 16:54:54 Ohhk, extra space is in between, not expected. Tha
: mode(FETCH_REQUEST_MODE_NO_CORS),
request_context_type(REQUEST_CONTEXT_TYPE_UNSPECIFIED),
frame_type(REQUEST_CONTEXT_FRAME_TYPE_NONE),
@@ -39,7 +40,8 @@ ServiceWorkerFetchRequest::ServiceWorkerFetchRequest(
blob_size(0),
referrer(referrer),
credentials_mode(FETCH_CREDENTIALS_MODE_OMIT),
- is_reload(is_reload) {
+ is_reload(is_reload),
+ client(client) {
}
ServiceWorkerFetchRequest::~ServiceWorkerFetchRequest() {}

Powered by Google App Engine
This is Rietveld 408576698