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

Unified Diff: media/blink/buffered_data_source_unittest.cc

Issue 495353003: Move WebMediaPlayerImpl and its dependencies to media/blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 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/buffered_data_source_host_impl_unittest.cc ('k') | media/blink/buffered_resource_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/buffered_data_source_unittest.cc
diff --git a/content/renderer/media/buffered_data_source_unittest.cc b/media/blink/buffered_data_source_unittest.cc
similarity index 98%
rename from content/renderer/media/buffered_data_source_unittest.cc
rename to media/blink/buffered_data_source_unittest.cc
index 9749991681475abb06f59e71d807e6e79b325e9e..a76beb00080e61b4e6f40f5c2badae6d92f8ee2e 100644
--- a/content/renderer/media/buffered_data_source_unittest.cc
+++ b/media/blink/buffered_data_source_unittest.cc
@@ -4,14 +4,13 @@
#include "base/bind.h"
#include "base/message_loop/message_loop.h"
-#include "content/public/common/url_constants.h"
-#include "content/renderer/media/buffered_data_source.h"
-#include "content/renderer/media/test_response_generator.h"
-#include "content/test/mock_webframeclient.h"
-#include "content/test/mock_weburlloader.h"
#include "media/base/media_log.h"
#include "media/base/mock_filters.h"
#include "media/base/test_helpers.h"
+#include "media/blink/buffered_data_source.h"
+#include "media/blink/mock_webframeclient.h"
+#include "media/blink/mock_weburlloader.h"
+#include "media/blink/test_response_generator.h"
#include "third_party/WebKit/public/platform/WebURLResponse.h"
#include "third_party/WebKit/public/web/WebLocalFrame.h"
#include "third_party/WebKit/public/web/WebView.h"
@@ -29,7 +28,7 @@ using blink::WebURLLoader;
using blink::WebURLResponse;
using blink::WebView;
-namespace content {
+namespace media {
class MockBufferedDataSourceHost : public BufferedDataSourceHost {
public:
@@ -49,12 +48,12 @@ class MockBufferedDataSource : public BufferedDataSource {
public:
MockBufferedDataSource(
const GURL& url,
- const scoped_refptr<base::MessageLoopProxy>& message_loop,
+ const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
WebLocalFrame* frame,
BufferedDataSourceHost* host)
: BufferedDataSource(url,
BufferedResourceLoader::kUnspecified,
- message_loop,
+ task_runner,
frame,
new media::MediaLog(),
host,
@@ -777,4 +776,4 @@ TEST_F(BufferedDataSourceTest,
Stop();
}
-} // namespace content
+} // namespace media
« no previous file with comments | « media/blink/buffered_data_source_host_impl_unittest.cc ('k') | media/blink/buffered_resource_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698