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

Unified Diff: third_party/WebKit/Source/modules/fetch/FetchManager.cpp

Issue 2714423002: Rename SkipServiceWorker to ServiceWorkerMode (Closed)
Patch Set: typos-- Created 3 years, 10 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: third_party/WebKit/Source/modules/fetch/FetchManager.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
index 12b47f44334e81747fbe8edf7980d4f556f809d3..be60585d572dbf9d0f4027c5f1a6248916a61396 100644
--- a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
+++ b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp
@@ -764,9 +764,9 @@ void FetchManager::Loader::performHTTPFetch(bool corsFlag,
// referrer string (i.e. String()).
request.setHTTPReferrer(SecurityPolicy::generateReferrer(
referrerPolicy, m_request->url(), referrerString));
- request.setSkipServiceWorker(m_isIsolatedWorld
- ? WebURLRequest::SkipServiceWorker::All
- : WebURLRequest::SkipServiceWorker::None);
+ request.setServiceWorkerMode(m_isIsolatedWorld
+ ? WebURLRequest::ServiceWorkerMode::None
+ : WebURLRequest::ServiceWorkerMode::All);
// "3. Append `Host`, ..."
// FIXME: Implement this when the spec is fixed.

Powered by Google App Engine
This is Rietveld 408576698