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

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: request_info.cc 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..c8812bab60fb466b1a41341761d58a5fce3b2404 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::RequestContextType, fetch_request_context_type)
+
+ // 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)
« no previous file with comments | « content/common/content_param_traits_macros.h ('k') | content/common/service_worker/service_worker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698