| 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 [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, | 16 OnLaunch(string handler_url, |
| 17 mojo.URLResponse response, | 17 mojo.URLResponse response, |
| 18 handle<data_pipe_consumer> response_body_stream); | 18 handle<data_pipe_consumer> response_body_stream); |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 interface Launchable { | |
| 22 OnLaunch(mojo.URLResponse response, | |
| 23 handle<data_pipe_consumer> response_body_stream, | |
| 24 uint32 node_id); | |
| 25 }; | |
| 26 | |
| 27 } | 21 } |
| OLD | NEW |