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

Side by Side Diff: mojo/services/public/interfaces/launcher/launcher.mojom

Issue 345773003: Mojo: teach launcher about mojo:// URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 6 years, 6 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 | Annotate | Revision Log
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 "../network/url_loader.mojom" 5 import "../../../navigation/navigation.mojom"
6 6
7 module mojo.launcher { 7 module mojo.launcher {
8 8
9 [Client=LauncherClient] 9 [Client=LauncherClient]
10 interface Launcher { 10 interface Launcher {
11 Launch(string url); 11 Launch(string url);
12 }; 12 };
13 13
14 [Client=Launcher] 14 [Client=Launcher]
15 interface LauncherClient { 15 interface LauncherClient {
16 OnLaunch(string handler_url, mojo.URLResponse response, 16 // |response| can be NULL if a launcher did not need to perform a request to
17 handle<data_pipe_consumer> response_body_stream); 17 // determine handler_url.
18 OnLaunch(string requested_url, string handler_url,
19 mojo.navigation.ResponseDetails response);
18 }; 20 };
19 21
20 } 22 }
OLDNEW
« mojo/services/launcher/launcher.cc ('K') | « mojo/services/launcher/launcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698