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

Side by Side Diff: content/renderer/media/android/webmediaplayer_proxy_android.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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_
6 #define WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ 6 #define CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/time.h" 10 #include "base/time.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "media/base/android/demuxer_stream_player_params.h" 12 #include "media/base/android/demuxer_stream_player_params.h"
13 #include "media/base/android/media_player_android.h" 13 #include "media/base/android/media_player_android.h"
14 14
15 namespace webkit_media { 15 namespace content {
16 16
17 // An interface to facilitate the IPC between the browser side 17 // An interface to facilitate the IPC between the browser side
18 // android::MediaPlayer and the WebMediaPlayerImplAndroid in the renderer 18 // android::MediaPlayer and the WebMediaPlayerImplAndroid in the renderer
19 // process. 19 // process.
20 // Implementation is provided by content::WebMediaPlayerProxyImplAndroid. 20 // Implementation is provided by content::WebMediaPlayerProxyImplAndroid.
21 class WebMediaPlayerProxyAndroid { 21 class WebMediaPlayerProxyAndroid {
22 public: 22 public:
23 virtual ~WebMediaPlayerProxyAndroid(); 23 virtual ~WebMediaPlayerProxyAndroid();
24 24
25 // Initialize a MediaPlayerAndroid object in browser process 25 // Initialize a MediaPlayerAndroid object in browser process
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 const std::string& session_id) = 0; 76 const std::string& session_id) = 0;
77 77
78 virtual void CancelKeyRequest(int player_id, 78 virtual void CancelKeyRequest(int player_id,
79 const std::string& session_id) = 0; 79 const std::string& session_id) = 0;
80 80
81 // Inform the media source player of changed duration from demuxer. 81 // Inform the media source player of changed duration from demuxer.
82 virtual void DurationChanged(int player_id, 82 virtual void DurationChanged(int player_id,
83 const base::TimeDelta& duration) = 0; 83 const base::TimeDelta& duration) = 0;
84 }; 84 };
85 85
86 } // namespace webkit_media 86 } // namespace content
87 87
88 #endif // WEBKIT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_ 88 #endif // CONTENT_RENDERER_MEDIA_ANDROID_WEBMEDIAPLAYER_PROXY_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698