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

Side by Side Diff: runtime/lib/developer.dart

Issue 2455593002: Revert "Merge more Kernel infrastructure from kernel_sdk SDK fork." (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « runtime/lib/core_patch.dart ('k') | runtime/lib/developer_sources.gypi » ('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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 import 'dart:isolate'; 5 import 'dart:isolate';
6 import 'dart:_internal';
7 6
8 @patch bool debugger({bool when: true, 7 @patch bool debugger({bool when: true,
9 String message}) native "Developer_debugger"; 8 String message}) native "Developer_debugger";
10 9
11 @patch Object inspect(Object object) native "Developer_inspect"; 10 @patch Object inspect(Object object) native "Developer_inspect";
12 11
13 @patch void log(String message, 12 @patch void log(String message,
14 {DateTime time, 13 {DateTime time,
15 int sequenceNumber, 14 int sequenceNumber,
16 int level: 0, 15 int level: 0,
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 sb.write('"result":'); 141 sb.write('"result":');
143 } 142 }
144 sb.write('${response._toString()},'); 143 sb.write('${response._toString()},');
145 if (id is String) { 144 if (id is String) {
146 sb.write('"id":"$id"}'); 145 sb.write('"id":"$id"}');
147 } else { 146 } else {
148 sb.write('"id":$id}'); 147 sb.write('"id":$id}');
149 } 148 }
150 replyPort.send(sb.toString()); 149 replyPort.send(sb.toString());
151 } 150 }
OLDNEW
« no previous file with comments | « runtime/lib/core_patch.dart ('k') | runtime/lib/developer_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698