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

Unified Diff: Source/platform/network/ResourceRequest.h

Issue 610403002: [ServiceWorker] Plumbing the request credentials mode to the ServiceWorker. [1/2 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: incorporated mkwst's comment 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
« no previous file with comments | « Source/platform/exported/WebURLRequest.cpp ('k') | Source/platform/network/ResourceRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/ResourceRequest.h
diff --git a/Source/platform/network/ResourceRequest.h b/Source/platform/network/ResourceRequest.h
index 591940ea55935384d8027b2ce29a6e22484cf247..0b3aaafbf23d8a298a89d1cb4cc1b3e68c587118 100644
--- a/Source/platform/network/ResourceRequest.h
+++ b/Source/platform/network/ResourceRequest.h
@@ -191,14 +191,11 @@ public:
blink::WebURLRequest::FrameType frameType() const { return m_frameType; }
void setFrameType(blink::WebURLRequest::FrameType frameType) { m_frameType = frameType; }
- blink::WebURLRequest::FetchRequestMode fetchRequestMode() const
- {
- return m_fetchRequestMode;
- }
- void setFetchRequestMode(blink::WebURLRequest::FetchRequestMode mode)
- {
- m_fetchRequestMode = mode;
- }
+ blink::WebURLRequest::FetchRequestMode fetchRequestMode() const { return m_fetchRequestMode; }
+ void setFetchRequestMode(blink::WebURLRequest::FetchRequestMode mode) { m_fetchRequestMode = mode; }
+
+ blink::WebURLRequest::FetchCredentialsMode fetchCredentialsMode() const { return m_fetchCredentialsMode; }
+ void setFetchCredentialsMode(blink::WebURLRequest::FetchCredentialsMode mode) { m_fetchCredentialsMode = mode; }
bool cacheControlContainsNoCache() const;
bool cacheControlContainsNoStore() const;
@@ -236,6 +233,7 @@ private:
blink::WebURLRequest::RequestContext m_requestContext;
blink::WebURLRequest::FrameType m_frameType;
blink::WebURLRequest::FetchRequestMode m_fetchRequestMode;
+ blink::WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode;
ReferrerPolicy m_referrerPolicy;
mutable CacheControlHeader m_cacheControlHeaderCache;
@@ -274,6 +272,7 @@ public:
blink::WebURLRequest::RequestContext m_requestContext;
blink::WebURLRequest::FrameType m_frameType;
blink::WebURLRequest::FetchRequestMode m_fetchRequestMode;
+ blink::WebURLRequest::FetchCredentialsMode m_fetchCredentialsMode;
ReferrerPolicy m_referrerPolicy;
};
« no previous file with comments | « Source/platform/exported/WebURLRequest.cpp ('k') | Source/platform/network/ResourceRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698