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

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

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase 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.mojom
diff --git a/services/shell/public/interfaces/service.mojom b/services/shell/public/interfaces/service.mojom
deleted file mode 100644
index b3ac3b1f672fb79353c0f7d85bbe48d2ce4438ff..0000000000000000000000000000000000000000
--- a/services/shell/public/interfaces/service.mojom
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module shell.mojom;
-
-import "services/shell/public/interfaces/capabilities.mojom";
-import "services/shell/public/interfaces/connector.mojom";
-import "services/shell/public/interfaces/interface_provider.mojom";
-
-// Implemented by something "known to" the Mojo Shell (e.g. an application or
-// service), for which an instance is tracked. It allows the implementor to
-// receive lifecycle events and service inbound connection attempts.
-interface Service {
- // Called by the shell once an instance for this application has been created.
- // This method will be called exactly once before any other method is called.
- //
- // Parameters:
- //
- // identity
- // The identity of this instance in the shell. Includes:
- // * The resolved name used in the connection request that resulted in this
- // instance being initialized.
- // * The user associated with this instance in the shell. This will never
- // be kInheritUserID.
- // * The instance group this instance belongs to.
- //
- // Response parameters:
- //
- // connector_request
- // An optional Connector request for the shell to bind, allowing the
- // initialized client to connect to others.
- //
- OnStart(Identity identity) => (Connector&? connector_request);
-
- // Called when another application attempts to open a connection to this
- // application. An application implements this method to complete the exchange
- // of interface implementations with the remote application. See also
- // documentation in shell.mojom for Connect(). The application originating
- // the request is referred to as the "source" and the one receiving the
- // "target".
- //
- // Parameters:
- //
- // source
- // The identity of the instance originating the connection.
- //
- // interfaces
- // A request for an InterfaceProvider by which the source application may
- // seek to bind interface implementations exported by the target.
- //
- // allowed_capabilities
- // A whitelist of interface names and capability classes that should be
- // made available to the source, according to the security policy described
- // by the source and target's manifests. Attempts to bind interfaces not in
- // this whitelist must not be fulfilled.
- //
- OnConnect(Identity source,
- InterfaceProvider&? interfaces,
- Interfaces required_interfaces,
- Classes required_classes);
-};
« no previous file with comments | « services/shell/public/interfaces/resolver.mojom ('k') | services/shell/public/interfaces/service_factory.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698