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

Side by Side Diff: runtime/bin/vmservice/vmservice.dart

Issue 22909059: Some more removals of dart:utf. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Change ArgumentError to FormatException. Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 library vmservice; 5 library vmservice;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:json' as JSON; 8 import 'dart:json' as JSON;
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:typed_data'; 10 import 'dart:typed_data';
11 import 'dart:utf' as UTF;
12 11
13 part 'constants.dart'; 12 part 'constants.dart';
14 part 'resources.dart'; 13 part 'resources.dart';
15 part 'running_isolate.dart'; 14 part 'running_isolate.dart';
16 part 'running_isolates.dart'; 15 part 'running_isolates.dart';
17 part 'service_request.dart'; 16 part 'service_request.dart';
18 part 'service_request_router.dart'; 17 part 'service_request_router.dart';
19 18
20 class VMService { 19 class VMService {
21 static VMService _instance; 20 static VMService _instance;
(...skipping 23 matching lines...) Expand all
45 factory VMService() { 44 factory VMService() {
46 if (VMService._instance == null) { 45 if (VMService._instance == null) {
47 VMService._instance = new VMService._internal(); 46 VMService._instance = new VMService._internal();
48 } 47 }
49 return _instance; 48 return _instance;
50 } 49 }
51 } 50 }
52 51
53 void sendServiceMessage(SendPort sp, ReceivePort rp, Object m) 52 void sendServiceMessage(SendPort sp, ReceivePort rp, Object m)
54 native "SendServiceMessage"; 53 native "SendServiceMessage";
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698