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

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

Issue 2419063003: Move services/shell to services/service_manager (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "services/shell/public/interfaces/capabilities.mojom"; 7 import "services/service_manager/public/interfaces/capabilities.mojom";
8 import "services/shell/public/interfaces/connector.mojom"; 8 import "services/service_manager/public/interfaces/connector.mojom";
9 import "services/shell/public/interfaces/interface_provider.mojom"; 9 import "services/service_manager/public/interfaces/interface_provider.mojom";
10 10
11 // Implemented by something "known to" the Mojo Shell (e.g. an application or 11 // Implemented by something "known to" the Mojo Shell (e.g. an application or
12 // service), for which an instance is tracked. It allows the implementor to 12 // service), for which an instance is tracked. It allows the implementor to
13 // receive lifecycle events and service inbound connection attempts. 13 // receive lifecycle events and service inbound connection attempts.
14 interface Service { 14 interface Service {
15 // Called by the shell once an instance for this application has been created. 15 // Called by the shell once an instance for this application has been created.
16 // This method will be called exactly once before any other method is called. 16 // This method will be called exactly once before any other method is called.
17 // 17 //
18 // Parameters: 18 // Parameters:
19 // 19 //
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // A whitelist of interface names and capability classes that should be 53 // A whitelist of interface names and capability classes that should be
54 // made available to the source, according to the security policy described 54 // made available to the source, according to the security policy described
55 // by the source and target's manifests. Attempts to bind interfaces not in 55 // by the source and target's manifests. Attempts to bind interfaces not in
56 // this whitelist must not be fulfilled. 56 // this whitelist must not be fulfilled.
57 // 57 //
58 OnConnect(Identity source, 58 OnConnect(Identity source,
59 InterfaceProvider&? interfaces, 59 InterfaceProvider&? interfaces,
60 Interfaces required_interfaces, 60 Interfaces required_interfaces,
61 Classes required_classes); 61 Classes required_classes);
62 }; 62 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698