OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #ifndef RUNTIME_VM_JSON_STREAM_H_ | 5 #ifndef RUNTIME_VM_JSON_STREAM_H_ |
6 #define RUNTIME_VM_JSON_STREAM_H_ | 6 #define RUNTIME_VM_JSON_STREAM_H_ |
7 | 7 |
8 #include "include/dart_api.h" // for Dart_Port | 8 #include "include/dart_api.h" // for Dart_Port |
9 #include "platform/text_buffer.h" | 9 #include "platform/text_buffer.h" |
10 #include "vm/allocation.h" | 10 #include "vm/allocation.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 kInternalError = -32603, | 46 kInternalError = -32603, |
47 | 47 |
48 kExtensionError = -32000, | 48 kExtensionError = -32000, |
49 | 49 |
50 kFeatureDisabled = 100, | 50 kFeatureDisabled = 100, |
51 kCannotAddBreakpoint = 102, | 51 kCannotAddBreakpoint = 102, |
52 kStreamAlreadySubscribed = 103, | 52 kStreamAlreadySubscribed = 103, |
53 kStreamNotSubscribed = 104, | 53 kStreamNotSubscribed = 104, |
54 kIsolateMustBeRunnable = 105, | 54 kIsolateMustBeRunnable = 105, |
55 kIsolateMustBePaused = 106, | 55 kIsolateMustBePaused = 106, |
56 kCannotResume = 107, | |
57 | 56 |
58 // Experimental (used in private rpcs). | 57 // Experimental (used in private rpcs). |
59 kIsolateIsReloading = 1000, | 58 kIsolateIsReloading = 1000, |
60 kFileSystemAlreadyExists = 1001, | 59 kFileSystemAlreadyExists = 1001, |
61 kFileSystemDoesNotExist = 1002, | 60 kFileSystemDoesNotExist = 1002, |
62 kFileDoesNotExist = 1003, | 61 kFileDoesNotExist = 1003, |
63 kIsolateReloadFailed = 1004, | 62 kIsolateReloadFailed = 1004, |
64 kIsolateReloadBarred = 1005, | 63 kIsolateReloadBarred = 1005, |
65 }; | 64 }; |
66 | 65 |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 | 404 |
406 friend class JSONObject; | 405 friend class JSONObject; |
407 | 406 |
408 DISALLOW_ALLOCATION(); | 407 DISALLOW_ALLOCATION(); |
409 DISALLOW_COPY_AND_ASSIGN(JSONArray); | 408 DISALLOW_COPY_AND_ASSIGN(JSONArray); |
410 }; | 409 }; |
411 | 410 |
412 } // namespace dart | 411 } // namespace dart |
413 | 412 |
414 #endif // RUNTIME_VM_JSON_STREAM_H_ | 413 #endif // RUNTIME_VM_JSON_STREAM_H_ |
OLD | NEW |