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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module shell.mojom; 5 module shell.mojom;
6 6
7 import "mojo/common/common_custom_types.mojom";
7 import "services/shell/public/interfaces/connector.mojom"; 8 import "services/shell/public/interfaces/connector.mojom";
8 9
9 struct ServiceInfo { 10 struct ServiceInfo {
10 uint32 id; 11 uint32 id;
11 Identity identity; 12 Identity identity;
12 uint32 pid; 13 uint32 pid;
13 }; 14 };
14 15
15 // Implemented by a client that wishes to be informed when the list of running 16 // Implemented by a client that wishes to be informed when the list of running
16 // services changes. 17 // services changes.
(...skipping 15 matching lines...) Expand all
32 33
33 // Called when the Service Manager has stopped tracking a service. (i.e. when 34 // Called when the Service Manager has stopped tracking a service. (i.e. when
34 // it has ended/quit). 35 // it has ended/quit).
35 OnServiceStopped(Identity identity); 36 OnServiceStopped(Identity identity);
36 }; 37 };
37 38
38 interface ServiceManager { 39 interface ServiceManager {
39 // The listener is removed when the |listener| pipe is closed. 40 // The listener is removed when the |listener| pipe is closed.
40 AddListener(ServiceManagerListener listener); 41 AddListener(ServiceManagerListener listener);
41 }; 42 };
43
44 // A control interface which may be exposed to privileged services.
45 interface ServiceManagerControl {
46 // Overrides the resolved package path for a specific service named |name|.
47 // Useful for e.g. overriding the executable used to launch a service when
48 // it doesn't line up with the default expectations of the service manager.
49 [Sync]
50 OverridePackagePath(string name, mojo.common.mojom.FilePath path) => ();
51 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698