OLD | NEW |
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 CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_ |
6 #define CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_ | 6 #define CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
13 #include "media/base/android/media_player_bridge.h" | 14 #include "media/base/android/media_player_bridge.h" |
14 | 15 |
15 class SkBitmap; | 16 class SkBitmap; |
16 | 17 |
17 // This is the version of MediaPlayerBridge that handles the remote media | 18 // This is the version of MediaPlayerBridge that handles the remote media |
18 // playback. | 19 // playback. |
19 | 20 |
20 namespace remote_media { | 21 namespace remote_media { |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 | 148 |
148 // NOTE: Weak pointers must be invalidated before all other member variables. | 149 // NOTE: Weak pointers must be invalidated before all other member variables. |
149 base::WeakPtrFactory<RemoteMediaPlayerBridge> weak_factory_; | 150 base::WeakPtrFactory<RemoteMediaPlayerBridge> weak_factory_; |
150 | 151 |
151 DISALLOW_COPY_AND_ASSIGN(RemoteMediaPlayerBridge); | 152 DISALLOW_COPY_AND_ASSIGN(RemoteMediaPlayerBridge); |
152 }; | 153 }; |
153 | 154 |
154 } // namespace remote_media | 155 } // namespace remote_media |
155 | 156 |
156 #endif // CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_ | 157 #endif // CHROME_BROWSER_MEDIA_ANDROID_REMOTE_REMOTE_MEDIA_PLAYER_BRIDGE_H_ |
OLD | NEW |