Chromium Code Reviews| Index: media/base/android/media_player_bridge_manager.h |
| diff --git a/media/base/android/media_player_bridge_manager.h b/media/base/android/media_player_bridge_manager.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6668802bc3f5420ad9841cbc9f5c28f41846a159 |
| --- /dev/null |
| +++ b/media/base/android/media_player_bridge_manager.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MEDIA_BASE_ANDROID_MEDIA_PLAYER_BRIDGE_MANAGER_H_ |
| +#define MEDIA_BASE_ANDROID_MEDIA_PLAYER_BRIDGE_MANAGER_H_ |
| + |
| +namespace media { |
| + |
| +class MediaPlayerBridge; |
| + |
| +// This class is responsible for managing active MediaPlayerBridge objects. |
| +// It is implemented by webkit_media::MediaPlayerBridgeManagerImpl and |
| +// content::MediaPlayerManagerAndroid. |
| +class MediaPlayerBridgeManager { |
| + public: |
| + virtual ~MediaPlayerBridgeManager() {}; |
|
scherkus (not reviewing)
2012/09/10 12:19:08
can you add a .cc w/ impl there?
qinmin
2012/09/11 04:50:24
Done.
|
| + |
| + virtual void RequestMediaResources(MediaPlayerBridge* player) = 0; |
|
scherkus (not reviewing)
2012/09/10 12:19:08
docs?
qinmin
2012/09/11 04:50:24
Done.
|
| + virtual void ReleaseMediaResources(MediaPlayerBridge* player) = 0; |
| +}; |
| + |
| +} // namespace media |
| + |
| +#endif // MEDIA_BASE_ANDROID_MEDIA_PLAYER_BRIDGE_MANAGER_H_ |