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

Unified Diff: extensions/browser/extensions_browser_client.h

Issue 1035263002: Add service registration for Mojo services defined under chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync with master. Created 5 years, 9 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: extensions/browser/extensions_browser_client.h
diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h
index 0cf646682a22887639c40acf6f03296fff3b8497..49d00dbf197847f3a02ada86a5d8b89e2084b2d3 100644
--- a/extensions/browser/extensions_browser_client.h
+++ b/extensions/browser/extensions_browser_client.h
@@ -22,6 +22,7 @@ class ListValue;
namespace content {
class BrowserContext;
+class RenderFrameHost;
class WebContents;
}
@@ -176,6 +177,10 @@ class ExtensionsBrowserClient {
virtual void RegisterExtensionFunctions(
ExtensionFunctionRegistry* registry) const = 0;
+ // Registers Mojo services for a RenderFrame.
+ virtual void RegisterMojoServices(content::RenderFrameHost* render_frame_host,
+ const Extension* extension) const = 0;
+
// Creates a RuntimeAPIDelegate responsible for handling extensions
// management-related events such as update and installation on behalf of the
// core runtime API implementation.
« no previous file with comments | « extensions/browser/extension_web_contents_observer.cc ('k') | extensions/browser/mojo/service_registration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698