| 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 sky; | 5 module sky; |
| 6 | 6 |
| 7 interface InspectorServer { | 7 interface InspectorServer { |
| 8 Listen(int32 port) => (); | 8 Listen(int32 port) => (); |
| 9 }; | 9 }; |
| 10 | 10 |
| 11 [Client=InspectorBackend] | |
| 12 interface InspectorFrontend { | 11 interface InspectorFrontend { |
| 13 SendMessage(string message); | 12 SendMessage(string message); |
| 14 }; | 13 }; |
| 15 | 14 |
| 16 [Client=InspectorFrontend] | |
| 17 interface InspectorBackend { | 15 interface InspectorBackend { |
| 18 OnConnect(); | 16 OnConnect(); |
| 19 OnDisconnect(); | 17 OnDisconnect(); |
| 20 OnMessage(string message); | 18 OnMessage(string message); |
| 21 }; | 19 }; |
| OLD | NEW |