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 "../network/url_loader.mojom" |
6 import "../../../navigation/navigation.mojom" | |
7 | 6 |
8 module mojo.launcher { | 7 module mojo.launcher { |
9 | 8 |
10 [Client=LauncherClient] | 9 [Client=LauncherClient] |
11 interface Launcher { | 10 interface Launcher { |
12 Launch(string url); | 11 Launch(string url); |
13 }; | 12 }; |
14 | 13 |
15 [Client=Launcher] | 14 [Client=Launcher] |
16 interface LauncherClient { | 15 interface LauncherClient { |
17 OnLaunch(string handler_url, mojo.navigation.ResponseDetails response_details)
; | 16 OnLaunch(string handler_url, mojo.URLResponse response, |
| 17 handle<data_pipe_consumer> response_body_stream); |
18 }; | 18 }; |
19 | 19 |
20 } | 20 } |
OLD | NEW |