| 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 module mojo; | 5 module mojo; |
| 6 | 6 |
| 7 [ServiceName="mojo::EchoService"] | 7 [ServiceName="mojo::EchoService"] |
| 8 interface EchoService { | 8 interface EchoService { |
| 9 EchoString(string? value) => (string? value); | 9 EchoString(string? value) => (string? value); |
| 10 | 10 |
| 11 // Provide the EchoService to the echo_target.js | |
| 12 // application. The full URL for echo_target.js is | |
| 13 // computed relative to this application's URL. | |
| 14 // Return after echo_target has called EchoString(). | |
| 15 ShareEchoService() => (bool ok); | |
| 16 | |
| 17 // Make it stop. | 11 // Make it stop. |
| 18 Quit(); | 12 Quit(); |
| 19 }; | 13 }; |
| OLD | NEW |