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

Unified Diff: Source/platform/exported/WebURLRequest.cpp

Issue 587213003: [ServiceWorker] Plumbing the request mode from the renderer to the ServiceWorker. [1/2 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git cl format 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/WebServiceWorkerRequest.cpp ('k') | Source/platform/network/ResourceRequest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebURLRequest.cpp
diff --git a/Source/platform/exported/WebURLRequest.cpp b/Source/platform/exported/WebURLRequest.cpp
index 3f5c8141f9600abf3253c5b010c36a94aed5b998..728bf5b14a669ddc29eb857437fe0e41335ad501 100644
--- a/Source/platform/exported/WebURLRequest.cpp
+++ b/Source/platform/exported/WebURLRequest.cpp
@@ -312,6 +312,16 @@ void WebURLRequest::setSkipServiceWorker(bool skipServiceWorker)
m_private->m_resourceRequest->setSkipServiceWorker(skipServiceWorker);
}
+WebURLRequest::FetchRequestMode WebURLRequest::fetchRequestMode() const
+{
+ return m_private->m_resourceRequest->fetchRequestMode();
+}
+
+void WebURLRequest::setFetchRequestMode(WebURLRequest::FetchRequestMode mode)
+{
+ return m_private->m_resourceRequest->setFetchRequestMode(mode);
+}
+
WebURLRequest::ExtraData* WebURLRequest::extraData() const
{
RefPtr<ResourceRequest::ExtraData> data = m_private->m_resourceRequest->extraData();
« no previous file with comments | « Source/platform/exported/WebServiceWorkerRequest.cpp ('k') | Source/platform/network/ResourceRequest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698