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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.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/core/xmlhttprequest/XMLHttpRequest.cpp
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
index 98d47e7fd8b5436ca0ea5a49d544f8b0e1593bd4..df87ca6179e6c9fede8dae4c685078571f7ee520 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp
@@ -984,9 +984,9 @@ void XMLHttpRequest::createRequest(PassRefPtr<EncodedFormData> httpBody,
request.setFetchCredentialsMode(
includeCredentials ? WebURLRequest::FetchCredentialsModeInclude
: WebURLRequest::FetchCredentialsModeSameOrigin);
- request.setSkipServiceWorker(m_isIsolatedWorld
- ? WebURLRequest::SkipServiceWorker::All
- : WebURLRequest::SkipServiceWorker::None);
+ request.setServiceWorkerMode(m_isIsolatedWorld
+ ? WebURLRequest::ServiceWorkerMode::None
+ : WebURLRequest::ServiceWorkerMode::All);
request.setExternalRequestStateFromRequestorAddressSpace(
executionContext.securityContext().addressSpace());
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/modules/fetch/FetchManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698