| 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, |
| 56 | 57 |
| 57 // Experimental (used in private rpcs). | 58 // Experimental (used in private rpcs). |
| 58 kIsolateIsReloading = 1000, | 59 kIsolateIsReloading = 1000, |
| 59 kFileSystemAlreadyExists = 1001, | 60 kFileSystemAlreadyExists = 1001, |
| 60 kFileSystemDoesNotExist = 1002, | 61 kFileSystemDoesNotExist = 1002, |
| 61 kFileDoesNotExist = 1003, | 62 kFileDoesNotExist = 1003, |
| 62 kIsolateReloadFailed = 1004, | 63 kIsolateReloadFailed = 1004, |
| 63 kIsolateReloadBarred = 1005, | 64 kIsolateReloadBarred = 1005, |
| 64 }; | 65 }; |
| 65 | 66 |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 | 405 |
| 405 friend class JSONObject; | 406 friend class JSONObject; |
| 406 | 407 |
| 407 DISALLOW_ALLOCATION(); | 408 DISALLOW_ALLOCATION(); |
| 408 DISALLOW_COPY_AND_ASSIGN(JSONArray); | 409 DISALLOW_COPY_AND_ASSIGN(JSONArray); |
| 409 }; | 410 }; |
| 410 | 411 |
| 411 } // namespace dart | 412 } // namespace dart |
| 412 | 413 |
| 413 #endif // RUNTIME_VM_JSON_STREAM_H_ | 414 #endif // RUNTIME_VM_JSON_STREAM_H_ |
| OLD | NEW |