Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1702)

Unified Diff: content/public/browser/render_process_host.h

Issue 880393002: Fix webrtcAudioPrivate API to handle requests from <webview>s. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698