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

Unified Diff: services/shell/public/interfaces/service_manager.mojom

Issue 2389133008: Mash: Replaces "exe:chrome" with "service:content_browser" (Closed)
Patch Set: Created 4 years, 2 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: services/shell/public/interfaces/service_manager.mojom
diff --git a/services/shell/public/interfaces/service_manager.mojom b/services/shell/public/interfaces/service_manager.mojom
index 508c9db9ed0c876a4d66aa4e9c46232ad7b51003..698db8e2108401c7bd97d92461f8c74e9ae8b808 100644
--- a/services/shell/public/interfaces/service_manager.mojom
+++ b/services/shell/public/interfaces/service_manager.mojom
@@ -4,6 +4,7 @@
module shell.mojom;
+import "mojo/common/common_custom_types.mojom";
import "services/shell/public/interfaces/connector.mojom";
struct ServiceInfo {
@@ -39,3 +40,12 @@ interface ServiceManager {
// The listener is removed when the |listener| pipe is closed.
AddListener(ServiceManagerListener listener);
};
+
+// A control interface which may be exposed to privileged services.
+interface ServiceManagerControl {
+ // Overrides the resolved package path for a specific service named |name|.
+ // Useful for e.g. overriding the executable used to launch a service when
+ // it doesn't line up with the default expectations of the service manager.
+ [Sync]
+ OverridePackagePath(string name, mojo.common.mojom.FilePath path) => ();
+};

Powered by Google App Engine
This is Rietveld 408576698