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

Side by Side Diff: sdk/lib/io/io_resource_info.dart

Issue 2880543002: Revert "Change some platform libraries to use `part of URI`." (Closed)
Patch Set: Created 3 years, 7 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/io/http_session.dart ('k') | sdk/lib/io/io_service.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 part of "dart:io"; 5 part of dart.io;
6 6
7 abstract class _IOResourceInfo { 7 abstract class _IOResourceInfo {
8 final String type; 8 final String type;
9 final int id; 9 final int id;
10 String get name; 10 String get name;
11 static int _count = 0; 11 static int _count = 0;
12 12
13 static final Stopwatch _sw = new Stopwatch()..start(); 13 static final Stopwatch _sw = new Stopwatch()..start();
14 static final _startTime = new DateTime.now().millisecondsSinceEpoch; 14 static final _startTime = new DateTime.now().millisecondsSinceEpoch;
15 15
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 static SocketOpened(_SocketResourceInfo info) { 273 static SocketOpened(_SocketResourceInfo info) {
274 assert(!openSockets.containsKey(info.id)); 274 assert(!openSockets.containsKey(info.id));
275 openSockets[info.id] = info; 275 openSockets[info.id] = info;
276 } 276 }
277 277
278 static SocketClosed(_SocketResourceInfo info) { 278 static SocketClosed(_SocketResourceInfo info) {
279 assert(openSockets.containsKey(info.id)); 279 assert(openSockets.containsKey(info.id));
280 openSockets.remove(info.id); 280 openSockets.remove(info.id);
281 } 281 }
282 } 282 }
OLDNEW
« no previous file with comments | « sdk/lib/io/http_session.dart ('k') | sdk/lib/io/io_service.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698