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

Unified Diff: media/blink/mock_weburlloader.h

Issue 2399463007: AssociatedURLLoader shouldn't derive from WebURLLoader (Closed)
Patch Set: Rebase Created 4 years, 2 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 | « media/blink/mock_webassociatedurlloader.cc ('k') | media/blink/mock_weburlloader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/mock_weburlloader.h
diff --git a/media/blink/mock_weburlloader.h b/media/blink/mock_weburlloader.h
deleted file mode 100644
index 530c30c39cced3ab94df0736a04128cd6585a78f..0000000000000000000000000000000000000000
--- a/media/blink/mock_weburlloader.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2014 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 MEDIA_BLINK_MOCK_WEBURLLOADER_H_
-#define MEDIA_BLINK_MOCK_WEBURLLOADER_H_
-
-#include "base/macros.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "third_party/WebKit/public/platform/WebURLLoader.h"
-
-namespace media {
-
-class MockWebURLLoader : public blink::WebURLLoader {
- public:
- MockWebURLLoader();
- virtual ~MockWebURLLoader();
-
- MOCK_METHOD5(loadSynchronously,
- void(const blink::WebURLRequest& request,
- blink::WebURLResponse& response,
- blink::WebURLError& error,
- blink::WebData& data,
- int64_t& encoded_data_length));
- MOCK_METHOD2(loadAsynchronously, void(const blink::WebURLRequest& request,
- blink::WebURLLoaderClient* client));
- MOCK_METHOD0(cancel, void());
- MOCK_METHOD1(setDefersLoading, void(bool value));
- MOCK_METHOD1(setLoadingTaskRunner, void(blink::WebTaskRunner* task_runner));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(MockWebURLLoader);
-};
-
-} // namespace media
-
-#endif // MEDIA_BLINK_MOCK_WEBURLLOADER_H_
« no previous file with comments | « media/blink/mock_webassociatedurlloader.cc ('k') | media/blink/mock_weburlloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698