| 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) => ();
|
| +};
|
|
|