| Index: third_party/WebKit/Source/platform/loader/testing/MockFetchContext.h
|
| diff --git a/third_party/WebKit/Source/platform/loader/testing/MockFetchContext.h b/third_party/WebKit/Source/platform/loader/testing/MockFetchContext.h
|
| index 205ece8acbed00d844877a549dde045ec9716808..e7e7bb4d4abcab048c0652c2c8bd5368a373cd8a 100644
|
| --- a/third_party/WebKit/Source/platform/loader/testing/MockFetchContext.h
|
| +++ b/third_party/WebKit/Source/platform/loader/testing/MockFetchContext.h
|
| @@ -5,13 +5,13 @@
|
| #ifndef MockFetchContext_h
|
| #define MockFetchContext_h
|
|
|
| +#include <memory>
|
| #include "platform/loader/fetch/FetchContext.h"
|
| #include "platform/loader/fetch/FetchParameters.h"
|
| #include "platform/loader/fetch/ResourceTimingInfo.h"
|
| #include "platform/scheduler/test/fake_web_task_runner.h"
|
| #include "platform/wtf/PtrUtil.h"
|
| -
|
| -#include <memory>
|
| +#include "public/platform/Platform.h"
|
|
|
| namespace blink {
|
|
|
| @@ -63,6 +63,9 @@ class MockFetchContext : public FetchContext {
|
| const ResourceTimingInfo& resource_timing_info) override {
|
| transfer_size_ = resource_timing_info.TransferSize();
|
| }
|
| + WebURLLoader* CreateURLLoader() override {
|
| + return Platform::Current()->CreateURLLoader();
|
| + }
|
|
|
| private:
|
| MockFetchContext(LoadPolicy load_policy, RefPtr<WebTaskRunner> task_runner)
|
|
|