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 c2592d8268e356a8ebb8b167b6d00091f346cc0f..c1c6b09e08df016e2f339ee71736d2b01602003e 100644 |
--- a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp |
+++ b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp |
@@ -30,6 +30,7 @@ |
#include "public/platform/WebURLRequest.h" |
+#include "platform/RuntimeEnabledFeatures.h" |
#include "platform/exported/WebURLRequestPrivate.h" |
#include "platform/network/ResourceRequest.h" |
#include "public/platform/WebCachePolicy.h" |
@@ -459,6 +460,13 @@ bool WebURLRequest::isExternalRequest() const |
return m_private->m_resourceRequest->isExternalRequest(); |
} |
+WebURLRequest::LoadingIPC WebURLRequest::loadingIPC() const |
+{ |
+ if (RuntimeEnabledFeatures::loadingWithMojoEnabled()) |
+ return WebURLRequest::LoadingIPC::Mojo; |
+ return WebURLRequest::LoadingIPC::ChromeIPC; |
+} |
+ |
WebURLRequest::InputToLoadPerfMetricReportPolicy WebURLRequest::inputPerfMetricReportPolicy() const |
{ |
return static_cast<WebURLRequest::InputToLoadPerfMetricReportPolicy>( |