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

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

Issue 2501913002: Change the NaCl loader and broker processes to use the ServiceManager. (Closed)
Patch Set: Created 4 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 0d9ccbba4a16e44457e4719862b3c0de466c8b2b..829b6f2ef16acbb03bef3655d5bb33b51fcc0cd2 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -718,6 +718,18 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual std::unique_ptr<base::Value> GetServiceManifestOverlay(
const std::string& name);
+ struct ServiceManifestInfo {
+ // The name of the service.
+ std::string name;
+
+ // The resource ID of the manifest.
+ int resource_id;
+ };
+
+ // Allows the embedder to provide extra service manifests to be registered
+ // with the service manager context.
+ virtual std::vector<ServiceManifestInfo> GetExtraServiceManifests();
+
// Allows to override the visibility state of a RenderFrameHost.
// |visibility_state| should not be null. It will only be set if needed.
virtual void OverridePageVisibilityState(

Powered by Google App Engine
This is Rietveld 408576698