| 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 008bb5f1f87842ea770922a55984fb607b425ce2..8a6d5c2e50cbda641f1b3d1047f6d33ac0947b02 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"
|
| @@ -461,6 +462,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>(
|
|
|