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( |