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

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

Issue 1965563002: Neuter the wrong-way ServiceProvider (a.k.a. exposed_services). (Closed) Base URL: https://github.com/domokit/mojo.git@work795_js_wrong_way
Patch Set: rebased Created 4 years, 7 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 [DartPackage="mojo"] 5 [DartPackage="mojo"]
6 module mojo; 6 module mojo;
7 7
8 import "mojo/public/interfaces/application/application_connector.mojom"; 8 import "mojo/public/interfaces/application/application_connector.mojom";
9 import "mojo/public/interfaces/application/service_provider.mojom"; 9 import "mojo/public/interfaces/application/service_provider.mojom";
10 10
11 // An interface through which a Mojo application may communicate with the Mojo 11 // An interface through which a Mojo application may communicate with the Mojo
12 // system and request connections to other applications. 12 // system and request connections to other applications.
13 interface Shell { 13 interface Shell {
14 // See |ApplicationConnector.ConnectToApplication()|. 14 // See |ApplicationConnector.ConnectToApplication()|.
15 // TODO(vtl): Maybe this should be deprecated/removed. 15 //
16 // WARNING: |exposed_services| is deprecated and non-functional, and will be
17 // removed. Note that this also means that |services| will become required.
18 // https://github.com/domokit/mojo/issues/762
19 //
20 // TODO(vtl): Maybe this should be deprecated/removed (in favor of just using
21 // |ApplicationConnector|).
16 ConnectToApplication(string application_url, 22 ConnectToApplication(string application_url,
17 ServiceProvider&? services, 23 ServiceProvider&? services,
18 ServiceProvider? exposed_services); 24 ServiceProvider? exposed_services);
19 25
20 CreateApplicationConnector( 26 CreateApplicationConnector(
21 ApplicationConnector& application_connector_request); 27 ApplicationConnector& application_connector_request);
22 }; 28 };
OLDNEW
« no previous file with comments | « mojo/public/interfaces/application/application_connector.mojom ('k') | shell/application_manager/application_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698