OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_IMPL_H_ |
6 #define CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_IMPL_H_ | 6 #define CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "content/browser/android/content_video_view.h" | 17 #include "content/browser/android/content_video_view.h" |
18 #include "content/public/browser/render_view_host_observer.h" | 18 #include "content/public/browser/render_view_host_observer.h" |
19 #include "googleurl/src/gurl.h" | |
20 #include "media/base/android/demuxer_stream_player_params.h" | 19 #include "media/base/android/demuxer_stream_player_params.h" |
21 #include "media/base/android/media_player_android.h" | 20 #include "media/base/android/media_player_android.h" |
22 #include "media/base/android/media_player_manager.h" | 21 #include "media/base/android/media_player_manager.h" |
23 #include "ui/gfx/rect_f.h" | 22 #include "ui/gfx/rect_f.h" |
| 23 #include "url/gurl.h" |
24 | 24 |
25 namespace media { | 25 namespace media { |
26 class MediaDrmBridge; | 26 class MediaDrmBridge; |
27 } | 27 } |
28 | 28 |
29 namespace content { | 29 namespace content { |
30 | 30 |
31 class WebContents; | 31 class WebContents; |
32 | 32 |
33 // This class manages all the MediaPlayerAndroid objects. It receives | 33 // This class manages all the MediaPlayerAndroid objects. It receives |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 // Object for retrieving resources media players. | 173 // Object for retrieving resources media players. |
174 scoped_ptr<media::MediaResourceGetter> media_resource_getter_; | 174 scoped_ptr<media::MediaResourceGetter> media_resource_getter_; |
175 | 175 |
176 DISALLOW_COPY_AND_ASSIGN(MediaPlayerManagerImpl); | 176 DISALLOW_COPY_AND_ASSIGN(MediaPlayerManagerImpl); |
177 }; | 177 }; |
178 | 178 |
179 } // namespace content | 179 } // namespace content |
180 | 180 |
181 #endif // CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_IMPL_H_ | 181 #endif // CONTENT_BROWSER_ANDROID_MEDIA_PLAYER_MANAGER_IMPL_H_ |
OLD | NEW |