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

Side by Side Diff: mojo/public/interfaces/application/application_connector.mojom

Issue 1450223002: Add an ApplicationConnector.Duplicate(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | shell/application_manager/shell_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 [DartPackage="mojo"] 5 [DartPackage="mojo"]
6 module mojo; 6 module mojo;
7 7
8 import "mojo/public/interfaces/application/service_provider.mojom"; 8 import "mojo/public/interfaces/application/service_provider.mojom";
9 9
10 interface ApplicationConnector { 10 interface ApplicationConnector {
(...skipping 16 matching lines...) Expand all
27 // At least one of |services| or |exposed_services| should be valid/bound in 27 // At least one of |services| or |exposed_services| should be valid/bound in
28 // the call. 28 // the call.
29 // 29 //
30 // If the |application_url| does not contain a domain, but is of the form 30 // If the |application_url| does not contain a domain, but is of the form
31 // "mojo:{service}", it is up to the Mojo shell to select an appropriate 31 // "mojo:{service}", it is up to the Mojo shell to select an appropriate
32 // application for the service. Currently, the shell does this based on the 32 // application for the service. Currently, the shell does this based on the
33 // value of its --origin flag. 33 // value of its --origin flag.
34 ConnectToApplication(string application_url, 34 ConnectToApplication(string application_url,
35 ServiceProvider&? services, 35 ServiceProvider&? services,
36 ServiceProvider? exposed_services); 36 ServiceProvider? exposed_services);
37
38 // Creates a duplicate of this |ApplicationConnector|.
39 Duplicate(ApplicationConnector& application_connector_request);
37 }; 40 };
OLDNEW
« no previous file with comments | « no previous file | shell/application_manager/shell_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698