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.spy_api { | 5 module mojo.spy_api { |
6 | 6 |
7 enum Result { | 7 enum Result { |
8 ALL_OK, | 8 ALL_OK, |
9 INTERNAL_ERROR, | 9 INTERNAL_ERROR, |
10 INVALID_ID, | 10 INVALID_ID, |
(...skipping 30 matching lines...) Expand all Loading... |
41 }; | 41 }; |
42 | 42 |
43 interface SpyClient { | 43 interface SpyClient { |
44 OnFatalError(Result result); | 44 OnFatalError(Result result); |
45 OnSessionEnd(Result result); | 45 OnSessionEnd(Result result); |
46 OnClientConnection(string name, uint32 id, ConnectionOptions options); | 46 OnClientConnection(string name, uint32 id, ConnectionOptions options); |
47 OnMessage(Message message); | 47 OnMessage(Message message); |
48 }; | 48 }; |
49 | 49 |
50 } | 50 } |
OLD | NEW |