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

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

Issue 2807533003: [WIP2] off-main-thread loading
Patch Set: call set_is_secure_context in EmbeddedSharedWorkerStub::CreateWorkerFetchContext() Created 3 years, 8 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/platform/exported/WebURLRequest.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
index e214fdd5b023b1c31f2322ddaa450bda00f1678a..b57df3abdecf03966a0666b293268ee7ad247892 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
@@ -402,6 +402,8 @@ bool WebURLRequest::IsExternalRequest() const {
}
WebURLRequest::LoadingIPCType WebURLRequest::GetLoadingIPCType() const {
+ if (resource_request_->IsMojoIPCForced())
+ return WebURLRequest::LoadingIPCType::kMojo;
if (RuntimeEnabledFeatures::loadingWithMojoEnabled())
return WebURLRequest::LoadingIPCType::kMojo;
return WebURLRequest::LoadingIPCType::kChromeIPC;

Powered by Google App Engine
This is Rietveld 408576698