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

Side by Side Diff: mojo/shell/external_application_registrar.mojom

Issue 614663003: Change ExternalApplicationRegistrar::Register API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 import "mojo/public/interfaces/application/application.mojom"
5 import "mojo/public/interfaces/application/shell.mojom" 6 import "mojo/public/interfaces/application/shell.mojom"
6 7
7 module mojo { 8 module mojo {
8 9
9 // This interface allows applications running outside the auspices of a Shell 10 // This interface allows applications running outside the auspices of a Shell
10 // to request registration at the given application_url. 11 // to request registration at the given application_url.
11 // The shell implementing this interface will make the calling application 12 // The shell implementing this interface will make the calling application
12 // available to other apps at that URL and bind the provided Shell& to 13 // available to other apps at that URL and pass back a Shell bound to
13 // an impl capable of servicing the external application's connection requests. 14 // an impl capable of servicing the external application's connection requests.
14 interface ExternalApplicationRegistrar { 15 interface ExternalApplicationRegistrar {
15 Register(string application_url, Shell& shell) => (); 16 Register(string application_url) => (Shell shell);
16 }; 17 };
17 18
18 } 19 }
OLDNEW
« no previous file with comments | « mojo/shell/external_application_listener_unittest.cc ('k') | mojo/shell/external_application_registrar_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698