| Index: third_party/WebKit/Source/platform/network/ResourceRequest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/network/ResourceRequest.cpp b/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
|
| index 549422c23c414159cc968f1b8ab9327c90dae240..5237da57682aea19a7bd01d705af2bd6edc4da3a 100644
|
| --- a/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
|
| +++ b/third_party/WebKit/Source/platform/network/ResourceRequest.cpp
|
| @@ -31,6 +31,7 @@
|
| #include "platform/weborigin/SecurityOrigin.h"
|
| #include "public/platform/Platform.h"
|
| #include "public/platform/WebAddressSpace.h"
|
| +#include "public/platform/WebCachePolicy.h"
|
| #include "public/platform/WebURLRequest.h"
|
|
|
| namespace blink {
|
| @@ -146,12 +147,12 @@ void ResourceRequest::removeCredentials()
|
| m_url.setPass(String());
|
| }
|
|
|
| -ResourceRequestCachePolicy ResourceRequest::getCachePolicy() const
|
| +WebCachePolicy ResourceRequest::getCachePolicy() const
|
| {
|
| return m_cachePolicy;
|
| }
|
|
|
| -void ResourceRequest::setCachePolicy(ResourceRequestCachePolicy cachePolicy)
|
| +void ResourceRequest::setCachePolicy(WebCachePolicy cachePolicy)
|
| {
|
| m_cachePolicy = cachePolicy;
|
| }
|
| @@ -427,7 +428,7 @@ bool ResourceRequest::hasCacheValidatorFields() const
|
| void ResourceRequest::initialize(const KURL& url)
|
| {
|
| m_url = url;
|
| - m_cachePolicy = UseProtocolCachePolicy;
|
| + m_cachePolicy = WebCachePolicy::UseProtocolCachePolicy;
|
| m_timeoutInterval = s_defaultTimeoutInterval;
|
| m_httpMethod = HTTPNames::GET;
|
| m_allowStoredCredentials = true;
|
|
|