OLD | NEW |
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 } |
OLD | NEW |