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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 98 |
99 @patch | 99 @patch |
100 void _reportTaskEvent(int start, | 100 void _reportTaskEvent(int start, |
101 int taskId, | 101 int taskId, |
102 String phase, | 102 String phase, |
103 String category, | 103 String category, |
104 String name, | 104 String name, |
105 String argumentsAsJson) { | 105 String argumentsAsJson) { |
106 // TODO. | 106 // TODO. |
107 } | 107 } |
| 108 |
| 109 @patch |
| 110 int _getServiceMajorVersion() { |
| 111 return 0; |
| 112 } |
| 113 |
| 114 @patch |
| 115 int _getServiceMinorVersion() { |
| 116 return 0; |
| 117 } |
| 118 |
| 119 @patch |
| 120 void _getServerInfo(SendPort sp) { |
| 121 sp.send(null); |
| 122 } |
| 123 |
| 124 @patch |
| 125 void _webServerControl(SendPort sp, bool enable) { |
| 126 sp.send(null); |
| 127 } |
OLD | NEW |