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

Unified Diff: webkit/media/simple_data_source.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/simple_data_source.h ('k') | webkit/media/simple_data_source_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/simple_data_source.cc
diff --git a/webkit/glue/media/simple_data_source.cc b/webkit/media/simple_data_source.cc
similarity index 97%
rename from webkit/glue/media/simple_data_source.cc
rename to webkit/media/simple_data_source.cc
index 09736a53230578b3c8eb4b7722868729dc7008f3..18b464a695f3e8b71f3f55f3f32fe3f942f6c289 100644
--- a/webkit/glue/media/simple_data_source.cc
+++ b/webkit/media/simple_data_source.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/simple_data_source.h"
+#include "webkit/media/simple_data_source.h"
#include "base/bind.h"
#include "base/message_loop.h"
@@ -17,13 +17,13 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebKitPlatformSupport.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderOptions.h"
-#include "webkit/glue/media/web_data_source_factory.h"
#include "webkit/glue/webkit_glue.h"
+#include "webkit/media/web_data_source_factory.h"
using WebKit::WebString;
using WebKit::WebURLLoaderOptions;
-namespace webkit_glue {
+namespace webkit_media {
static const char kDataScheme[] = "data";
@@ -96,7 +96,7 @@ void SimpleDataSource::Initialize(
// Validate the URL.
url_ = GURL(url);
- if (!url_.is_valid() || !IsProtocolSupportedForMedia(url_)) {
+ if (!url_.is_valid() || !webkit_glue::IsProtocolSupportedForMedia(url_)) {
DoneInitialization_Locked(false);
return;
}
@@ -358,4 +358,4 @@ void SimpleDataSource::UpdateHostState() {
}
}
-} // namespace webkit_glue
+} // namespace webkit_media
« no previous file with comments | « webkit/media/simple_data_source.h ('k') | webkit/media/simple_data_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698