| 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..cf676ec3bd6d5bcc2ade460a3f8235af4e08c598 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::LoadingIPCType WebURLRequest::getLoadingIPCType() const
|
| +{
|
| + if (RuntimeEnabledFeatures::loadingWithMojoEnabled())
|
| + return WebURLRequest::LoadingIPCType::Mojo;
|
| + return WebURLRequest::LoadingIPCType::ChromeIPC;
|
| +}
|
| +
|
| WebURLRequest::InputToLoadPerfMetricReportPolicy WebURLRequest::inputPerfMetricReportPolicy() const
|
| {
|
| return static_cast<WebURLRequest::InputToLoadPerfMetricReportPolicy>(
|
|
|