| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 MEDIA_BASE_ANDROID_MEDIA_PLAYER_ANDROID_H_ | 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_PLAYER_ANDROID_H_ |
| 6 #define MEDIA_BASE_ANDROID_MEDIA_PLAYER_ANDROID_H_ | 6 #define MEDIA_BASE_ANDROID_MEDIA_PLAYER_ANDROID_H_ |
| 7 | 7 |
| 8 #include <jni.h> | 8 #include <jni.h> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
| 13 #include "googleurl/src/gurl.h" | |
| 14 #include "media/base/android/demuxer_stream_player_params.h" | 13 #include "media/base/android/demuxer_stream_player_params.h" |
| 15 #include "media/base/media_export.h" | 14 #include "media/base/media_export.h" |
| 16 #include "ui/gl/android/scoped_java_surface.h" | 15 #include "ui/gl/android/scoped_java_surface.h" |
| 16 #include "url/gurl.h" |
| 17 | 17 |
| 18 namespace media { | 18 namespace media { |
| 19 | 19 |
| 20 class MediaDrmBridge; | 20 class MediaDrmBridge; |
| 21 class MediaPlayerManager; | 21 class MediaPlayerManager; |
| 22 | 22 |
| 23 // This class serves as the base class for different media player | 23 // This class serves as the base class for different media player |
| 24 // implementations on Android. Subclasses need to provide their own | 24 // implementations on Android. Subclasses need to provide their own |
| 25 // MediaPlayerAndroid::Create() implementation. | 25 // MediaPlayerAndroid::Create() implementation. |
| 26 class MEDIA_EXPORT MediaPlayerAndroid { | 26 class MEDIA_EXPORT MediaPlayerAndroid { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 132 |
| 133 // Resource manager for all the media players. | 133 // Resource manager for all the media players. |
| 134 MediaPlayerManager* manager_; | 134 MediaPlayerManager* manager_; |
| 135 | 135 |
| 136 DISALLOW_COPY_AND_ASSIGN(MediaPlayerAndroid); | 136 DISALLOW_COPY_AND_ASSIGN(MediaPlayerAndroid); |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 } // namespace media | 139 } // namespace media |
| 140 | 140 |
| 141 #endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_ANDROID_H_ | 141 #endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_ANDROID_H_ |
| OLD | NEW |