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

Unified Diff: content/renderer/media/android/media_info_loader.h

Issue 17502007: Move webkit/renderer/media/android/ to content/renderer/media/android/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix shared lib Created 7 years, 6 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
Index: content/renderer/media/android/media_info_loader.h
diff --git a/webkit/renderer/media/media_info_loader.h b/content/renderer/media/android/media_info_loader.h
similarity index 89%
rename from webkit/renderer/media/media_info_loader.h
rename to content/renderer/media/android/media_info_loader.h
index 0e403bd141385e5cfb170d923829c529c2d99532..f5c62f495265220008fedc5fa0dd5f0b8a2ee469 100644
--- a/webkit/renderer/media/media_info_loader.h
+++ b/content/renderer/media/android/media_info_loader.h
@@ -2,17 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_RENDERER_MEDIA_MEDIA_INFO_LOADER_H_
-#define WEBKIT_RENDERER_MEDIA_MEDIA_INFO_LOADER_H_
+#ifndef CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_INFO_LOADER_H_
+#define CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_INFO_LOADER_H_
#include <string>
#include "base/callback.h"
#include "base/memory/scoped_ptr.h"
#include "base/time.h"
+#include "content/common/content_export.h"
#include "googleurl/src/gurl.h"
-#include "third_party/WebKit/public/web/WebMediaPlayer.h"
#include "third_party/WebKit/public/platform/WebURLLoaderClient.h"
+#include "third_party/WebKit/public/web/WebMediaPlayer.h"
#include "webkit/renderer/media/active_loader.h"
namespace WebKit {
@@ -21,12 +22,12 @@ class WebURLLoader;
class WebURLRequest;
}
-namespace webkit_media {
+namespace content {
// This class provides additional information about a media URL. Currently it
// can be used to determine if a media URL has a single security origin and
// whether the URL passes a CORS access check.
-class MediaInfoLoader : private WebKit::WebURLLoaderClient {
+class CONTENT_EXPORT MediaInfoLoader : private WebKit::WebURLLoaderClient {
public:
// Status codes for start operations on MediaInfoLoader.
enum Status {
@@ -104,7 +105,7 @@ class MediaInfoLoader : private WebKit::WebURLLoaderClient {
scoped_ptr<WebKit::WebURLLoader> test_loader_;
// Keeps track of an active WebURLLoader and associated state.
- scoped_ptr<ActiveLoader> active_loader_;
+ scoped_ptr<webkit_media::ActiveLoader> active_loader_;
bool loader_failed_;
GURL url_;
@@ -117,6 +118,6 @@ class MediaInfoLoader : private WebKit::WebURLLoaderClient {
DISALLOW_COPY_AND_ASSIGN(MediaInfoLoader);
};
-} // namespace webkit_media
+} // namespace content
-#endif // WEBKIT_RENDERER_MEDIA_MEDIA_INFO_LOADER_H_
+#endif // CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_INFO_LOADER_H_
« no previous file with comments | « content/renderer/media/android/audio_decoder_android.cc ('k') | content/renderer/media/android/media_info_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698