| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_PLAYER_BRIDGE_MANAGER_H_ |
| 6 #define MEDIA_BASE_ANDROID_MEDIA_PLAYER_BRIDGE_MANAGER_H_ |
| 7 |
| 8 namespace media { |
| 9 |
| 10 class MediaPlayerBridge; |
| 11 |
| 12 // This class is responsible for managing active MediaPlayerBridge objects. |
| 13 // It is implemented by webkit_media::MediaPlayerBridgeManagerImpl and |
| 14 // content::MediaPlayerManagerAndroid. |
| 15 class MediaPlayerBridgeManager { |
| 16 public: |
| 17 virtual ~MediaPlayerBridgeManager() {}; |
| 18 |
| 19 virtual void RequestMediaResources(MediaPlayerBridge* player) = 0; |
| 20 virtual void ReleaseMediaResources(MediaPlayerBridge* player) = 0; |
| 21 }; |
| 22 |
| 23 } // namespace media |
| 24 |
| 25 #endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_BRIDGE_MANAGER_H_ |
| OLD | NEW |