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

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

Issue 1686223002: Move InterfaceProvider into the shell::mojom namespace like the rest of the shell interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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/shell.mojom ('k') | mojo/shell/standalone/context.cc » ('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.shell.mojom; 5 module mojo.shell.mojom;
6 6
7 import "mojo/shell/public/interfaces/interface_provider.mojom"; 7 import "mojo/shell/public/interfaces/interface_provider.mojom";
8 import "mojo/shell/public/interfaces/shell.mojom"; 8 import "mojo/shell/public/interfaces/shell.mojom";
9 9
10 // TODO(beng): rewrite these comments. 10 // TODO(beng): rewrite these comments.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // no services to the connecting application. When this parameter contains 57 // no services to the connecting application. When this parameter contains
58 // only the single string value "*" the application may expose all of its 58 // only the single string value "*" the application may expose all of its
59 // services to the connecting application. 59 // services to the connecting application.
60 // 60 //
61 // |resolved_url| is the URL that was requested to create this connection, 61 // |resolved_url| is the URL that was requested to create this connection,
62 // after all mappings, resolutions, and redirects. This will include any 62 // after all mappings, resolutions, and redirects. This will include any
63 // querystring that was part of the request. 63 // querystring that was part of the request.
64 // 64 //
65 AcceptConnection(string requestor_url, 65 AcceptConnection(string requestor_url,
66 uint32 requestor_id, 66 uint32 requestor_id,
67 mojo.InterfaceProvider&? local_interfaces, 67 InterfaceProvider&? local_interfaces,
68 mojo.InterfaceProvider? remote_interfaces, 68 InterfaceProvider? remote_interfaces,
69 array<string> allowed_interfaces, 69 array<string> allowed_interfaces,
70 string resolved_url); 70 string resolved_url);
71 71
72 // Called by the shell in response to calling Shell's QuitApplication. The 72 // Called by the shell in response to calling Shell's QuitApplication. The
73 // application should run the callback with true if shutdown can proceed. 73 // application should run the callback with true if shutdown can proceed.
74 // See Shell::QuitApplication for details about shutdown workflow. 74 // See Shell::QuitApplication for details about shutdown workflow.
75 OnQuitRequested() => (bool can_quit); 75 OnQuitRequested() => (bool can_quit);
76 }; 76 };
OLDNEW
« no previous file with comments | « mojo/shell/public/interfaces/shell.mojom ('k') | mojo/shell/standalone/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698