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

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

Issue 1465793005: Pass CapabilityFilter via CreateInstanceForHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years 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/application/public/interfaces/BUILD.gn ('k') | mojo/mojo_base.gyp » ('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 module mojo.shell.mojom; 5 module mojo.shell.mojom;
6 6
7 import "mojo/application/public/interfaces/shell.mojom";
8
7 interface ApplicationManager { 9 interface ApplicationManager {
8 // Instructs the ApplicationManager to create an instance for an existing 10 // Instructs the ApplicationManager to create an instance for an existing
9 // process at the other end of |channel|, and perform applicable 11 // process at the other end of |channel|, and perform applicable
10 // initialization. This assumes the target process will bind the other end of 12 // initialization. This assumes the target process will bind the other end of
11 // channel to an implementation of ChildController and bind an Application 13 // channel to an implementation of ChildController and bind an Application
12 // request there. 14 // request there.
13 // TODO(beng): we should probably have an Identity mojom struct. 15 CreateInstanceForHandle(handle channel,
14 // TODO(beng): for this to be used in production, it's going to have to take 16 string url,
15 // a fully qualified Identity complete with CapabilityFilter, 17 mojo.CapabilityFilter filter);
16 // otherwise child processes registered with the shell will be
17 // able to request any application/service.
18 // http://crbug.com/555392
19 CreateInstanceForHandle(handle channel, string url);
20 }; 18 };
OLDNEW
« no previous file with comments | « mojo/application/public/interfaces/BUILD.gn ('k') | mojo/mojo_base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698