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

Unified Diff: webkit/media/buffered_resource_loader.cc

Issue 8570010: Moving media-related files from webkit/glue/ to webkit/media/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src
Patch Set: minor fixes Created 9 years, 1 month 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 | « webkit/media/buffered_resource_loader.h ('k') | webkit/media/buffered_resource_loader_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/buffered_resource_loader.cc
diff --git a/webkit/glue/media/buffered_resource_loader.cc b/webkit/media/buffered_resource_loader.cc
similarity index 99%
rename from webkit/glue/media/buffered_resource_loader.cc
rename to webkit/media/buffered_resource_loader.cc
index 457aee299750401e09a52e691c6c2926071a1050..6a9f0314d274d9d373c4199e7ae6777c7ca25f61 100644
--- a/webkit/glue/media/buffered_resource_loader.cc
+++ b/webkit/media/buffered_resource_loader.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/glue/media/buffered_resource_loader.h"
+#include "webkit/media/buffered_resource_loader.h"
#include "base/format_macros.h"
#include "base/stringprintf.h"
@@ -27,7 +27,7 @@ using WebKit::WebURLRequest;
using WebKit::WebURLResponse;
using webkit_glue::MultipartResponseDelegate;
-namespace webkit_glue {
+namespace webkit_media {
static const int kHttpOK = 200;
static const int kHttpPartialContent = 206;
@@ -358,7 +358,7 @@ void BufferedResourceLoader::willSendRequest(
if (single_origin_)
single_origin_ = url_.GetOrigin() == GURL(newRequest.url()).GetOrigin();
- if (!IsProtocolSupportedForMedia(newRequest.url())) {
+ if (!webkit_glue::IsProtocolSupportedForMedia(newRequest.url())) {
// Set the url in the request to an invalid value (empty url).
newRequest.setURL(WebKit::WebURL());
DoneStart(net::ERR_ADDRESS_INVALID);
@@ -810,4 +810,4 @@ void BufferedResourceLoader::Log() {
}
}
-} // namespace webkit_glue
+} // namespace webkit_media
« no previous file with comments | « webkit/media/buffered_resource_loader.h ('k') | webkit/media/buffered_resource_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698