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

Side by Side Diff: sdk/lib/_internal/js_runtime/lib/developer_patch.dart

Issue 2438613002: Provide an API to dart:developer to control the web server hosting the Service Protocol (Closed)
Patch Set: CHANGELOG.md merge and fatal error 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/vm/service_isolate.cc ('k') | sdk/lib/developer/developer.dart » ('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 // 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
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 }
OLDNEW
« no previous file with comments | « runtime/vm/service_isolate.cc ('k') | sdk/lib/developer/developer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698