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

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

Issue 772433004: Allow the content client to override browser Mojo services. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 c44788bdeab2db9697116dce9e805bb2e4a22994..a128d6715d8c1c6ffc6c5f3576fab5122ee41c9f 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -99,6 +99,7 @@ class RenderFrameHost;
class RenderProcessHost;
class RenderViewHost;
class ResourceContext;
+class ServiceRegistry;
class SiteInstance;
class SpeechRecognitionManagerDelegate;
class VibrationProvider;
@@ -625,6 +626,10 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual bool CheckMediaAccessPermission(BrowserContext* browser_context,
const GURL& security_origin,
MediaStreamType type);
+
+// Allows to override browser Mojo services exposed through the
+// RenderProcessHost.
+virtual void OverridePerProcessMojoServices(ServiceRegistry* registry);
jam 2014/12/03 21:30:24 nit: maybe add Render to this, i.e. OverrideRender
jam 2014/12/03 21:30:24 nit: move this above the ifdefs, and fix indentati
ppi 2014/12/04 12:54:49 Done.
ppi 2014/12/04 12:54:50 Done.
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698