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

Side by Side Diff: sdk/lib/developer/service.dart

Issue 2973823002: Revert "Remaining private libs" (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « sdk/lib/developer/profiler.dart ('k') | sdk/lib/developer/timeline.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 part of "dart:developer"; 5 part of "developer.dart";
6 6
7 /// Service protocol is the protocol that a client like the observatory 7 /// Service protocol is the protocol that a client like the observatory
8 /// could use to access the services provided by the Dart VM for 8 /// could use to access the services provided by the Dart VM for
9 /// debugging and inspecting Dart programs. This class encapsulates the 9 /// debugging and inspecting Dart programs. This class encapsulates the
10 /// version number and Uri for accessing this service. 10 /// version number and Uri for accessing this service.
11 class ServiceProtocolInfo { 11 class ServiceProtocolInfo {
12 /// The major version of the protocol. If the running Dart environment does 12 /// The major version of the protocol. If the running Dart environment does
13 /// not support the service protocol, this is 0. 13 /// not support the service protocol, this is 0.
14 final int majorVersion = _getServiceMajorVersion(); 14 final int majorVersion = _getServiceMajorVersion();
15 15
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 external void _webServerControl(SendPort sendPort, bool enable); 93 external void _webServerControl(SendPort sendPort, bool enable);
94 94
95 /// Returns the major version of the service protocol. 95 /// Returns the major version of the service protocol.
96 external int _getServiceMajorVersion(); 96 external int _getServiceMajorVersion();
97 97
98 /// Returns the minor version of the service protocol. 98 /// Returns the minor version of the service protocol.
99 external int _getServiceMinorVersion(); 99 external int _getServiceMinorVersion();
100 100
101 /// Returns the service id for the isolate that owns [sendPort]. 101 /// Returns the service id for the isolate that owns [sendPort].
102 external String _getIsolateIDFromSendPort(SendPort sendPort); 102 external String _getIsolateIDFromSendPort(SendPort sendPort);
OLDNEW
« no previous file with comments | « sdk/lib/developer/profiler.dart ('k') | sdk/lib/developer/timeline.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698