| Index: media/audio/audio_manager_base.h
|
| ===================================================================
|
| --- media/audio/audio_manager_base.h (revision 189667)
|
| +++ media/audio/audio_manager_base.h (working copy)
|
| @@ -140,7 +140,11 @@
|
| // Called by Shutdown().
|
| void ShutdownOnAudioThread();
|
|
|
| +#if defined(OS_ANDROID)
|
| void SetAudioMode(int mode);
|
| + void RegisterHeadsetReceiver();
|
| + void UnregisterHeadsetReceiver();
|
| +#endif
|
|
|
| // Counts the number of active input streams to find out if something else
|
| // is currently recording in Chrome.
|
| @@ -171,6 +175,11 @@
|
| // and GetMessageLoop() starts returning NULL.
|
| scoped_refptr<base::MessageLoopProxy> message_loop_;
|
|
|
| +#if defined(OS_ANDROID)
|
| + // Java AudioManager instance.
|
| + base::android::ScopedJavaGlobalRef<jobject> j_audio_manager_;
|
| +#endif
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(AudioManagerBase);
|
| };
|
|
|
|
|