| 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 | 6 |
| 7 module mojo.launcher { | 7 module mojo.launcher { |
| 8 | 8 |
| 9 [Client=LauncherClient] |
| 9 interface Launcher { | 10 interface Launcher { |
| 10 Launch(string url); | 11 Launch(string url); |
| 11 }; | 12 }; |
| 12 | 13 |
| 13 interface Launchable { | 14 [Client=Launcher] |
| 14 OnLaunch(mojo.URLResponse response, | 15 interface LauncherClient { |
| 16 OnLaunch(string handler_url, |
| 17 mojo.URLResponse response, |
| 15 handle<data_pipe_consumer> response_body_stream); | 18 handle<data_pipe_consumer> response_body_stream); |
| 16 }; | 19 }; |
| 17 | 20 |
| 21 interface Launchable { |
| 22 OnLaunch(mojo.URLResponse response, |
| 23 handle<data_pipe_consumer> response_body_stream, |
| 24 uint32 node_id); |
| 25 }; |
| 26 |
| 18 } | 27 } |
| OLD | NEW |