| OLD | NEW |
| 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 library test.runner.browser.content_shell; | |
| 6 | |
| 7 import 'dart:async'; | 5 import 'dart:async'; |
| 8 import 'dart:convert'; | 6 import 'dart:convert'; |
| 9 import 'dart:io'; | 7 import 'dart:io'; |
| 10 | 8 |
| 11 import '../../util/io.dart'; | 9 import '../../util/io.dart'; |
| 12 import '../../utils.dart'; | 10 import '../../utils.dart'; |
| 13 import '../application_exception.dart'; | 11 import '../application_exception.dart'; |
| 14 import 'browser.dart'; | 12 import 'browser.dart'; |
| 15 | 13 |
| 16 final _observatoryRegExp = new RegExp(r"^Observatory listening on ([^ ]+)"); | 14 final _observatoryRegExp = new RegExp(r"^Observatory listening on ([^ ]+)"); |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 } | 115 } |
| 118 | 116 |
| 119 ContentShell._(Future<Process> startBrowser(), this.observatoryUrl, | 117 ContentShell._(Future<Process> startBrowser(), this.observatoryUrl, |
| 120 this.remoteDebuggerUrl) | 118 this.remoteDebuggerUrl) |
| 121 : super(startBrowser); | 119 : super(startBrowser); |
| 122 | 120 |
| 123 /// Return the default executable for the current operating system. | 121 /// Return the default executable for the current operating system. |
| 124 static String _defaultExecutable() => | 122 static String _defaultExecutable() => |
| 125 Platform.isWindows ? "content_shell.exe" : "content_shell"; | 123 Platform.isWindows ? "content_shell.exe" : "content_shell"; |
| 126 } | 124 } |
| OLD | NEW |