| 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 79292d7670c19d30b8ede7ca4a70ee7e82262e2a..827d9298a9f1290c7916e812afb442d541df5d63 100644
|
| --- a/third_party/WebKit/Source/platform/loader/testing/MockFetchContext.h
|
| +++ b/third_party/WebKit/Source/platform/loader/testing/MockFetchContext.h
|
| @@ -5,13 +5,14 @@
|
| #ifndef MockFetchContext_h
|
| #define MockFetchContext_h
|
|
|
| +#include <memory>
|
| #include "platform/loader/fetch/FetchContext.h"
|
| #include "platform/loader/fetch/FetchRequest.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"
|
| +#include "wtf/PtrUtil.h"
|
|
|
| namespace blink {
|
|
|
| @@ -63,6 +64,9 @@ class MockFetchContext : public FetchContext {
|
| const ResourceTimingInfo& resourceTimingInfo) override {
|
| m_transferSize = resourceTimingInfo.transferSize();
|
| }
|
| + WebURLLoader* createURLLoader() override {
|
| + return Platform::current()->createURLLoader();
|
| + }
|
|
|
| private:
|
| MockFetchContext(LoadPolicy loadPolicy, RefPtr<WebTaskRunner> taskRunner)
|
|
|