summaryrefslogtreecommitdiffstats
path: root/webkit/glue/mock_weburlloader_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/mock_weburlloader_impl.h')
-rw-r--r--webkit/glue/mock_weburlloader_impl.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/webkit/glue/mock_weburlloader_impl.h b/webkit/glue/mock_weburlloader_impl.h
deleted file mode 100644
index da50b72..0000000
--- a/webkit/glue/mock_weburlloader_impl.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2010 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 WEBKIT_GLUE_MOCK_WEBURLLOADER_IMPL_H_
-#define WEBKIT_GLUE_MOCK_WEBURLLOADER_IMPL_H_
-
-#include "testing/gmock/include/gmock/gmock.h"
-#include "webkit/glue/weburlloader_impl.h"
-
-namespace webkit_glue {
-
-class MockWebURLLoader : public WebKit::WebURLLoader {
- public:
- MockWebURLLoader() {
- }
-
- virtual ~MockWebURLLoader() {
- }
-
- MOCK_METHOD4(loadSynchronously, void(const WebKit::WebURLRequest& request,
- WebKit::WebURLResponse& response,
- WebKit::WebURLError& error,
- WebKit::WebData& data));
- MOCK_METHOD2(loadAsynchronously, void(const WebKit::WebURLRequest& request,
- WebKit::WebURLLoaderClient* client));
- MOCK_METHOD0(cancel, void());
- MOCK_METHOD1(setDefersLoading, void(bool value));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockWebURLLoader);
-};
-
-} // namespace webkit_glue
-
-#endif // WEBKIT_GLUE_MOCK_WEBURLLOADER_IMPL_H_