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 |