| OLD | NEW |
| 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 // Patch file for dart:developer library. | 5 // Patch file for dart:developer library. |
| 6 | 6 |
| 7 import 'dart:_js_helper' show patch, ForceInline; | 7 import 'dart:_js_helper' show patch, ForceInline; |
| 8 import 'dart:_foreign_helper' show JS; | 8 import 'dart:_foreign_helper' show JS; |
| 9 | 9 |
| 10 @patch | 10 @patch |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 return -1; | 68 return -1; |
| 69 } | 69 } |
| 70 | 70 |
| 71 @patch | 71 @patch |
| 72 void _reportCompleteEvent(int start, int startCpu, String category, String name, | 72 void _reportCompleteEvent(int start, int startCpu, String category, String name, |
| 73 String argumentsAsJson) { | 73 String argumentsAsJson) { |
| 74 // TODO. | 74 // TODO. |
| 75 } | 75 } |
| 76 | 76 |
| 77 @patch | 77 @patch |
| 78 void _reportFlowEvent(int start, int startCpu, String category, String name, |
| 79 int type, int id, String argumentsAsJson) { |
| 80 // TODO. |
| 81 } |
| 82 |
| 83 @patch |
| 78 void _reportInstantEvent( | 84 void _reportInstantEvent( |
| 79 int start, String category, String name, String argumentsAsJson) { | 85 int start, String category, String name, String argumentsAsJson) { |
| 80 // TODO. | 86 // TODO. |
| 81 } | 87 } |
| 82 | 88 |
| 83 @patch | 89 @patch |
| 84 int _getNextAsyncId() { | 90 int _getNextAsyncId() { |
| 85 return 0; | 91 return 0; |
| 86 } | 92 } |
| 87 | 93 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 return old; | 166 return old; |
| 161 } | 167 } |
| 162 | 168 |
| 163 static final UserTag _defaultTag = new _FakeUserTag('Default'); | 169 static final UserTag _defaultTag = new _FakeUserTag('Default'); |
| 164 } | 170 } |
| 165 | 171 |
| 166 var _currentTag = _FakeUserTag._defaultTag; | 172 var _currentTag = _FakeUserTag._defaultTag; |
| 167 | 173 |
| 168 @patch | 174 @patch |
| 169 UserTag getCurrentTag() => _currentTag; | 175 UserTag getCurrentTag() => _currentTag; |
| OLD | NEW |