Chromium Code Reviews| Index: runtime/bin/vmservice/vmservice.dart |
| diff --git a/pkg/mime/lib/mime.dart b/runtime/bin/vmservice/vmservice.dart |
| similarity index 56% |
| copy from pkg/mime/lib/mime.dart |
| copy to runtime/bin/vmservice/vmservice.dart |
| index 44c6cadd9de34ee98d0cf01a1bf53f834dbe2a4d..45eed44268c6349fb57640670366f03de9f012e2 100644 |
| --- a/pkg/mime/lib/mime.dart |
| +++ b/runtime/bin/vmservice/vmservice.dart |
| @@ -2,12 +2,18 @@ |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| -library mime; |
| +library vmservice; |
| +import 'dart:isolate'; |
| import 'dart:async'; |
| +import 'dart:io'; |
| +import 'dart:json' as JSON; |
| +import 'dart:utf' as UTF; |
| import 'dart:typed_data'; |
|
siva
2013/07/15 21:40:16
not sure if the dart style is to list these import
Cutch
2013/07/15 21:58:38
It's not but I like it. Done.
|
| -part 'src/mime_type.dart'; |
| -part 'src/extension_map.dart'; |
| -part 'src/magic_number.dart'; |
| -part 'src/mime_multipart_transformer.dart'; |
| +void messageHandler(message, SendPort replyTo) { |
| +} |
| + |
| +main() { |
| + port.receive(messageHandler); |
| +} |