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

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

Issue 11876007: Connecting webrtc-internals WebUI frontend with the backend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@main
Patch Set: Move files to webui/media and add namespace media Created 7 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/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 68ca0ae087be337260351cd1a23874935fddeb1a..66baf391601a0c84de63a791ef53c24b5679e08a 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -70,6 +70,7 @@ class SpeechRecognitionManagerDelegate;
class WebContents;
class WebContentsView;
class WebContentsViewDelegate;
+class WebRTCInternalsInterface;
class WebUIControllerFactory;
struct MainFunctionParams;
struct ShowDesktopNotificationHostMsgParams;
@@ -330,10 +331,14 @@ class CONTENT_EXPORT ContentBrowserClient {
int render_process_id,
int render_view_id) {}
- // Returns a a class to get notifications about media event. The embedder can
+ // Returns a class to get notifications about media event. The embedder can
// return NULL if they're not interested.
virtual MediaObserver* GetMediaObserver();
+ // Returns a class to get WebRTC updates. The embedder can return NULL if they
+ // are not interested.
+ virtual WebRTCInternalsInterface* GetWebRTCInternalsInterface();
+
// Asks permission to show desktop notifications.
virtual void RequestDesktopNotificationPermission(
const GURL& source_origin,

Powered by Google App Engine
This is Rietveld 408576698