Chromium Code Reviews| Index: content/public/browser/render_process_host.h |
| diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h |
| index 6ee9f2bab7d4e02ba79c5b287495e5cbb949d8bc..fc659d94709e64d2ee885e8cb27c46ba8a0846bf 100644 |
| --- a/content/public/browser/render_process_host.h |
| +++ b/content/public/browser/render_process_host.h |
| @@ -5,6 +5,8 @@ |
| #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ |
| #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ |
| +#include <list> |
| + |
| #include "base/basictypes.h" |
| #include "base/id_map.h" |
| #include "base/process/kill.h" |
| @@ -26,6 +28,10 @@ namespace gpu { |
| union ValueState; |
| } |
| +namespace media { |
| +class AudioOutputController; |
| +} |
| + |
| namespace content { |
| class BrowserContext; |
| class BrowserMessageFilter; |
| @@ -308,6 +314,16 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, |
| // Returns the current maximum number of renderer process hosts kept by the |
| // content module. |
| static size_t GetMaxRendererProcessCount(); |
| + |
| + // Retrieves the list of AudioOutputController objects associated |
| + // with this object and passes it to the callback you specify, on |
| + // the same thread on which you called the method. |
| + typedef std::list<scoped_refptr<media::AudioOutputController>> |
| + AudioOutputControllerList; |
| + typedef base::Callback<void(const AudioOutputControllerList&)> |
| + GetAudioOutputControllersCallback; |
| + virtual void GetAudioOutputControllers( |
| + const GetAudioOutputControllersCallback& callback) const = 0; |
|
jam
2015/01/29 00:19:05
move this above the "// Static management function
|
| }; |
| } // namespace content. |