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

Unified Diff: content/browser/service_worker/service_worker_url_request_job.h

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, 7 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/browser/service_worker/service_worker_url_request_job.h
diff --git a/content/browser/service_worker/service_worker_url_request_job.h b/content/browser/service_worker/service_worker_url_request_job.h
index e29183a11f5e0fc75bdef63db10730affa8e18dc..d8b67ce62490c95e17f8b178754244af8c98dac9 100644
--- a/content/browser/service_worker/service_worker_url_request_job.h
+++ b/content/browser/service_worker/service_worker_url_request_job.h
@@ -61,6 +61,7 @@ class CONTENT_EXPORT ServiceWorkerURLRequestJob
bool is_main_resource_load,
RequestContextType request_context_type,
RequestContextFrameType frame_type,
+ const ServiceWorkerClientInfo& client_info,
scoped_refptr<ResourceRequestBody> body);
// Sets the response type.
@@ -200,6 +201,7 @@ class CONTENT_EXPORT ServiceWorkerURLRequestJob
bool is_main_resource_load_;
RequestContextType request_context_type_;
RequestContextFrameType frame_type_;
+ ServiceWorkerClientInfo client_info_;
bool fall_back_required_;
// ResourceRequestBody has a collection of BlobDataHandles attached to it
// using the userdata mechanism. So we have to keep it not to free the blobs.

Powered by Google App Engine
This is Rietveld 408576698