| Index: third_party/WebKit/Source/core/fetch/MockFetchContext.h
|
| diff --git a/third_party/WebKit/Source/core/fetch/MockFetchContext.h b/third_party/WebKit/Source/core/fetch/MockFetchContext.h
|
| index 3073307a97dd1514d542e8b6a636d70fab5d541b..076d7ddbac0a364835c504bce703e5b7151152f4 100644
|
| --- a/third_party/WebKit/Source/core/fetch/MockFetchContext.h
|
| +++ b/third_party/WebKit/Source/core/fetch/MockFetchContext.h
|
| @@ -38,13 +38,14 @@ class MockFetchContext : public FetchContext {
|
| bool allowImage(bool imagesEnabled, const KURL&) const override {
|
| return true;
|
| }
|
| - bool canRequest(Resource::Type,
|
| - const ResourceRequest&,
|
| - const KURL&,
|
| - const ResourceLoaderOptions&,
|
| - bool forPreload,
|
| - FetchRequest::OriginRestriction) const override {
|
| - return true;
|
| + ResourceRequestBlockedReason canRequest(
|
| + Resource::Type,
|
| + const ResourceRequest&,
|
| + const KURL&,
|
| + const ResourceLoaderOptions&,
|
| + bool forPreload,
|
| + FetchRequest::OriginRestriction) const override {
|
| + return ResourceRequestBlockedReason::None;
|
| }
|
| bool shouldLoadNewResource(Resource::Type) const override {
|
| return m_loadPolicy == kShouldLoadNewResource;
|
|
|