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

Unified Diff: content/common/resource_messages.h

Issue 623663002: [ServiceWorker] pipe RequestContext and FrameType to ServiceWorker. [2/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit tests Created 6 years, 2 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/resource_messages.h
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h
index 00550dad99d56b7276f112a1bf408039f723538c..482cb5abe04b90c7ccd44eca547ea65b6981688f 100644
--- a/content/common/resource_messages.h
+++ b/content/common/resource_messages.h
@@ -205,6 +205,12 @@ IPC_STRUCT_BEGIN(ResourceHostMsg_Request)
// The credentials mode passed to the ServiceWorker.
IPC_STRUCT_MEMBER(content::FetchCredentialsMode, fetch_credentials_mode)
+ // The request context passed to the ServiceWorker.
+ IPC_STRUCT_MEMBER(content::RequestContext, fetch_request_context)
+
+ // The frame type passed to the ServiceWorker.
+ IPC_STRUCT_MEMBER(content::RequestContextFrameType, fetch_frame_type)
+
// Optional resource request body (may be null).
IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>,
request_body)

Powered by Google App Engine
This is Rietveld 408576698