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

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

Issue 1565343003: Move mojo/application/public -> mojo/shell/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher
Patch Set: . Created 4 years, 11 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
« no previous file with comments | « mojo/shell/public/interfaces/service_provider.mojom ('k') | mojo/shell/public/java/BUILD.gn » ('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 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 mojo; 5 module mojo;
6 6
7 import "mojo/application/public/interfaces/service_provider.mojom"; 7 import "mojo/shell/public/interfaces/service_provider.mojom";
8 import "network/public/interfaces/url_loader.mojom"; 8 import "network/public/interfaces/url_loader.mojom";
9 9
10 // Specifies a whitelist of applications and services an application can connect 10 // Specifies a whitelist of applications and services an application can connect
11 // to. Connections to applications not explicitly specified here as a key are 11 // to. Connections to applications not explicitly specified here as a key are
12 // rejected. Connections to services not specified in an application's allowed 12 // rejected. Connections to services not specified in an application's allowed
13 // interfaces value are not made. 13 // interfaces value are not made.
14 // A "*" value as the only key in an otherwise empty map means the application 14 // A "*" value as the only key in an otherwise empty map means the application
15 // may connect to any other application. 15 // may connect to any other application.
16 // A "*" value as the only string in an otherwise empty array of interface names 16 // A "*" value as the only string in an otherwise empty array of interface names
17 // means the application may connect to any service in that application. 17 // means the application may connect to any service in that application.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // When there are no more instantiated services in an application, it should 71 // When there are no more instantiated services in an application, it should
72 // start its shutdown process by calling this method. Additionally, it should 72 // start its shutdown process by calling this method. Additionally, it should
73 // keep track of any new service requests that come in. The shell will then 73 // keep track of any new service requests that come in. The shell will then
74 // call Application::OnQuitRequested and start queueing new service requests. 74 // call Application::OnQuitRequested and start queueing new service requests.
75 // If the application didn't get any new service requests in the meantime, it 75 // If the application didn't get any new service requests in the meantime, it
76 // should call the callback with a true value. Otherwise it should call it 76 // should call the callback with a true value. Otherwise it should call it
77 // with false. 77 // with false.
78 QuitApplication(); 78 QuitApplication();
79 }; 79 };
OLDNEW
« no previous file with comments | « mojo/shell/public/interfaces/service_provider.mojom ('k') | mojo/shell/public/java/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698