diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-27 01:00:59 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-27 01:00:59 +0000 |
commit | 7ba34a0114537b08164b4f44943ec5c25aac9417 (patch) | |
tree | 641a9ffd6776ef601ebc80b4de004583612863ba /webkit | |
parent | 3d982787ffab8d0d79c47d12a91f15fc9aabdc7a (diff) | |
download | chromium_src-7ba34a0114537b08164b4f44943ec5c25aac9417.zip chromium_src-7ba34a0114537b08164b4f44943ec5c25aac9417.tar.gz chromium_src-7ba34a0114537b08164b4f44943ec5c25aac9417.tar.bz2 |
Move webkit/mocks/ to content/test
These are only used by content_unittests
BUG=265753
Review URL: https://codereview.chromium.org/24704003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225626 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/mocks/DEPS | 3 | ||||
-rw-r--r-- | webkit/mocks/mock_webframeclient.h | 16 | ||||
-rw-r--r-- | webkit/mocks/mock_weburlloader.cc | 18 | ||||
-rw-r--r-- | webkit/mocks/mock_weburlloader.h | 33 |
4 files changed, 0 insertions, 70 deletions
diff --git a/webkit/mocks/DEPS b/webkit/mocks/DEPS deleted file mode 100644 index c3a5b96..0000000 --- a/webkit/mocks/DEPS +++ /dev/null @@ -1,3 +0,0 @@ -include_rules = [ - "+media", -] diff --git a/webkit/mocks/mock_webframeclient.h b/webkit/mocks/mock_webframeclient.h deleted file mode 100644 index c0d7040..0000000 --- a/webkit/mocks/mock_webframeclient.h +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) 2011 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_MOCKS_MOCK_WEBFRAMECLIENT_H_ -#define WEBKIT_MOCKS_MOCK_WEBFRAMECLIENT_H_ - -#include "third_party/WebKit/public/web/WebFrameClient.h" - -namespace webkit_glue { - -class MockWebFrameClient : public WebKit::WebFrameClient {}; - -} // namespace webkit_glue - -#endif // WEBKIT_MOCKS_MOCK_WEBFRAMECLIENT_H_ diff --git a/webkit/mocks/mock_weburlloader.cc b/webkit/mocks/mock_weburlloader.cc deleted file mode 100644 index dc4f2d0..0000000 --- a/webkit/mocks/mock_weburlloader.cc +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright (c) 2011 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. - -#include "webkit/mocks/mock_weburlloader.h" - -#include "third_party/WebKit/public/platform/WebData.h" -#include "third_party/WebKit/public/platform/WebURLError.h" -#include "third_party/WebKit/public/platform/WebURLRequest.h" -#include "third_party/WebKit/public/platform/WebURLResponse.h" - -namespace webkit_glue { - -MockWebURLLoader::MockWebURLLoader() {} - -MockWebURLLoader::~MockWebURLLoader() {} - -} // namespace webkit_glue diff --git a/webkit/mocks/mock_weburlloader.h b/webkit/mocks/mock_weburlloader.h deleted file mode 100644 index a9e2d6b..0000000 --- a/webkit/mocks/mock_weburlloader.h +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) 2011 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_MOCKS_MOCK_WEBURLLOADER_H_ -#define WEBKIT_MOCKS_MOCK_WEBURLLOADER_H_ - -#include "testing/gmock/include/gmock/gmock.h" -#include "webkit/child/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_MOCKS_MOCK_WEBURLLOADER_H_ |