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

Unified Diff: media/blink/buffered_resource_loader_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_resource_loader.cc ('k') | media/blink/cache_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/buffered_resource_loader_unittest.cc
diff --git a/content/renderer/media/buffered_resource_loader_unittest.cc b/media/blink/buffered_resource_loader_unittest.cc
similarity index 99%
rename from content/renderer/media/buffered_resource_loader_unittest.cc
rename to media/blink/buffered_resource_loader_unittest.cc
index 7bd23de9e25e2625cf763c51c5cc96fa73a8e20d..3e7eaa8a8858d5c0cd3f191397e0be17fba1528e 100644
--- a/content/renderer/media/buffered_resource_loader_unittest.cc
+++ b/media/blink/buffered_resource_loader_unittest.cc
@@ -9,11 +9,11 @@
#include "base/format_macros.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/stringprintf.h"
-#include "content/renderer/media/buffered_resource_loader.h"
-#include "content/test/mock_webframeclient.h"
-#include "content/test/mock_weburlloader.h"
#include "media/base/media_log.h"
#include "media/base/seekable_buffer.h"
+#include "media/blink/buffered_resource_loader.h"
+#include "media/blink/mock_webframeclient.h"
+#include "media/blink/mock_weburlloader.h"
#include "net/base/net_errors.h"
#include "net/http/http_request_headers.h"
#include "net/http/http_util.h"
@@ -36,7 +36,7 @@ using blink::WebURLError;
using blink::WebURLResponse;
using blink::WebView;
-namespace content {
+namespace media {
static const char* kHttpUrl = "http://test";
static const char kHttpRedirectToSameDomainUrl1[] = "http://test/ing";
@@ -86,7 +86,7 @@ class BufferedResourceLoaderTest : public testing::Test {
gurl_, BufferedResourceLoader::kUnspecified,
first_position_, last_position_,
BufferedResourceLoader::kCapacityDefer, 0, 0,
- new media::MediaLog()));
+ new MediaLog()));
// |test_loader_| will be used when Start() is called.
url_loader_ = new NiceMock<MockWebURLLoader>();
@@ -1128,4 +1128,4 @@ TEST(BufferedResourceLoaderStandaloneTest, ParseContentRange) {
kPositionNotSpecified);
}
-} // namespace content
+} // namespace media
« no previous file with comments | « media/blink/buffered_resource_loader.cc ('k') | media/blink/cache_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698