Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(764)

Side by Side Diff: runtime/vm/isolate.h

Issue 257053003: Always use the same json for null in the vm service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 VM_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/thread.h" 10 #include "platform/thread.h"
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 } 451 }
452 452
453 void set_profiler_data(IsolateProfilerData* profiler_data) { 453 void set_profiler_data(IsolateProfilerData* profiler_data) {
454 profiler_data_ = profiler_data; 454 profiler_data_ = profiler_data;
455 } 455 }
456 456
457 IsolateProfilerData* profiler_data() const { 457 IsolateProfilerData* profiler_data() const {
458 return profiler_data_; 458 return profiler_data_;
459 } 459 }
460 460
461 void PrintToJSONStream(JSONStream* stream, bool ref = true); 461 void PrintJSON(JSONStream* stream, bool ref = true);
462 462
463 void set_thread_state(InterruptableThreadState* state) { 463 void set_thread_state(InterruptableThreadState* state) {
464 ASSERT((thread_state_ == NULL) || (state == NULL)); 464 ASSERT((thread_state_ == NULL) || (state == NULL));
465 thread_state_ = state; 465 thread_state_ = state;
466 } 466 }
467 467
468 InterruptableThreadState* thread_state() const { 468 InterruptableThreadState* thread_state() const {
469 return thread_state_; 469 return thread_state_;
470 } 470 }
471 471
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 char* script_url_; 718 char* script_url_;
719 char* library_url_; 719 char* library_url_;
720 char* class_name_; 720 char* class_name_;
721 char* function_name_; 721 char* function_name_;
722 char* exception_callback_name_; 722 char* exception_callback_name_;
723 }; 723 };
724 724
725 } // namespace dart 725 } // namespace dart
726 726
727 #endif // VM_ISOLATE_H_ 727 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698