Index: third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandleTest.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandleTest.cpp b/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandleTest.cpp |
index 65f8eeddd0ba624f2ccbf43540b9b9c4d7037915..988639468c6f360ce43029a56535d49a09c226b9 100644 |
--- a/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandleTest.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/FetchBlobDataConsumerHandleTest.cpp |
@@ -6,7 +6,7 @@ |
#include "core/dom/ExecutionContext.h" |
#include "core/fetch/ResourceLoaderOptions.h" |
-#include "core/loader/ThreadableLoader.h" |
+#include "core/loader/MockThreadableLoader.h" |
#include "core/loader/ThreadableLoaderClient.h" |
#include "core/testing/DummyPageHolder.h" |
#include "modules/fetch/DataConsumerHandleTestUtil.h" |
@@ -54,17 +54,6 @@ public: |
MOCK_METHOD5(create, PassRefPtr<ThreadableLoader>(ExecutionContext&, ThreadableLoaderClient*, const ResourceRequest&, const ThreadableLoaderOptions&, const ResourceLoaderOptions&)); |
}; |
-class MockThreadableLoader : public ThreadableLoader { |
-public: |
- static PassRefPtr<MockThreadableLoader> create() { return adoptRef(new StrictMock<MockThreadableLoader>); } |
- |
- MOCK_METHOD1(overrideTimeout, void(unsigned long)); |
- MOCK_METHOD0(cancel, void()); |
- |
-protected: |
- MockThreadableLoader() = default; |
-}; |
- |
PassRefPtr<BlobDataHandle> createBlobDataHandle(const char* s) |
{ |
OwnPtr<BlobData> data = BlobData::create(); |