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

Side by Side Diff: services/service_manager/public/interfaces/service_manager.mojom

Issue 2440903002: Make "all user" services work when packaged. (Closed)
Patch Set: Addressed latest comments and synced. Created 4 years, 1 month 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 service_manager.mojom; 5 module service_manager.mojom;
6 6
7 import "services/service_manager/public/interfaces/connector.mojom"; 7 import "services/service_manager/public/interfaces/connector.mojom";
8 8
9 struct RunningServiceInfo { 9 struct RunningServiceInfo {
10 uint32 id; 10 uint32 id;
(...skipping 12 matching lines...) Expand all
23 // Called when the Service Manager has started tracking a Service. This 23 // Called when the Service Manager has started tracking a Service. This
24 // happens when the Service Manager first handles a request to launch the 24 // happens when the Service Manager first handles a request to launch the
25 // Service, before a process is created for it. 25 // Service, before a process is created for it.
26 OnServiceCreated(RunningServiceInfo service); 26 OnServiceCreated(RunningServiceInfo service);
27 27
28 // Called when a pid is available for the service. This could be because the 28 // Called when a pid is available for the service. This could be because the
29 // Service Manager created a process for it, or because an existing one was 29 // Service Manager created a process for it, or because an existing one was
30 // assigned to it. 30 // assigned to it.
31 OnServiceStarted(Identity identity, uint32 pid); 31 OnServiceStarted(Identity identity, uint32 pid);
32 32
33 // Called when a service failed to start. (typically because it was shutdown
34 // before the manager heard back from the service).
35 OnServiceFailedToStart(Identity identity);
36
33 // Called when the Service Manager has stopped tracking a service. (i.e. when 37 // Called when the Service Manager has stopped tracking a service. (i.e. when
34 // it has ended/quit). 38 // it has ended/quit).
35 OnServiceStopped(Identity identity); 39 OnServiceStopped(Identity identity);
36 }; 40 };
37 41
38 interface ServiceManager { 42 interface ServiceManager {
39 // The listener is removed when the |listener| pipe is closed. 43 // The listener is removed when the |listener| pipe is closed.
40 AddListener(ServiceManagerListener listener); 44 AddListener(ServiceManagerListener listener);
41 }; 45 };
OLDNEW
« no previous file with comments | « services/service_manager/public/interfaces/resolver.mojom ('k') | services/service_manager/service_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698