Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Unified Diff: third_party/WebKit/Source/core/loader/MockThreadableLoader.h

Issue 2703533002: Loading: remove unused MockThreadableLoader (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/MockThreadableLoader.h
diff --git a/third_party/WebKit/Source/core/loader/MockThreadableLoader.h b/third_party/WebKit/Source/core/loader/MockThreadableLoader.h
deleted file mode 100644
index 27df19b02d19d82e53ed1a56ca85c937c39235c4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/loader/MockThreadableLoader.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MockThreadableLoader_h
-#define MockThreadableLoader_h
-
-#include "core/loader/ThreadableLoader.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "wtf/PtrUtil.h"
-#include <memory>
-
-namespace blink {
-
-class MockThreadableLoader : public ThreadableLoader {
- public:
- static MockThreadableLoader* create() {
- return new testing::StrictMock<MockThreadableLoader>;
- }
-
- MOCK_METHOD1(start, void(const ResourceRequest&));
- MOCK_METHOD1(overrideTimeout, void(unsigned long));
- MOCK_METHOD0(cancel, void());
-
- protected:
- MockThreadableLoader() = default;
-};
-
-} // namespace blink
-
-#endif // MockThreadableLoader_h
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698