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

Unified Diff: content/common/resource_messages.h

Issue 615493003: [ServiceWorker] Plumbing the request credentials mode to the ServiceWorker. [2/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix GetFetchCredentialsMode Created 6 years, 3 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 d1ae748acdd3609b5d900854f2e7982371d7ab56..ee67ea9cb490f13be7dbb8d1ea6f4644bb3e0ec7 100644
--- a/content/common/resource_messages.h
+++ b/content/common/resource_messages.h
@@ -88,6 +88,9 @@ IPC_ENUM_TRAITS_MAX_VALUE( \
IPC_ENUM_TRAITS_MAX_VALUE(content::FetchRequestMode,
content::FETCH_REQUEST_MODE_LAST)
+IPC_ENUM_TRAITS_MAX_VALUE(content::FetchCredentialsMode,
+ content::FETCH_CREDENTIALS_MODE_LAST)
+
IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead)
IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseInfo)
IPC_STRUCT_TRAITS_MEMBER(request_start)
@@ -198,6 +201,9 @@ IPC_STRUCT_BEGIN(ResourceHostMsg_Request)
// The request mode passed to the ServiceWorker.
IPC_STRUCT_MEMBER(content::FetchRequestMode, fetch_request_mode)
+ // The credentials mode passed to the ServiceWorker.
+ IPC_STRUCT_MEMBER(content::FetchCredentialsMode, fetch_credentials_mode)
yhirano 2014/10/01 06:41:12 The mode value is not set in resource_dispatcher.c
horo 2014/10/01 06:57:34 Done.
+
// 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