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

Unified Diff: tools/testing/dart/launch_browser.dart

Issue 841193003: cleanup to tools/testing/dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: one last bit Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/testing/dart/http_server.dart ('k') | tools/testing/dart/lib/android.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/launch_browser.dart
diff --git a/tools/testing/dart/launch_browser.dart b/tools/testing/dart/launch_browser.dart
deleted file mode 100644
index 66264d93a81131ec855f236e48db1aced50640f4..0000000000000000000000000000000000000000
--- a/tools/testing/dart/launch_browser.dart
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// 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.
-
-/**
- * Simple command line interface to launching browsers.
- * Uses the browser_controller framework.
- * The usage is:
- * DARTBIN launch_browser.dart BROWSER_NAME URL
- * DARTBIN should be the checked in stable binary.
- */
-
-import "browser_controller.dart";
-import "utils.dart";
-
-void printHelp() {
- print("Usage pattern:");
- print("launch_browser.dart browser url");
- print("Supported browsers: ${Browser.SUPPORTED_BROWSERS}");
-}
-
-void main(List<String> arguments) {
- if (arguments.length != 2) {
- print("Wrong number of arguments, please pass in exactly two arguments");
- printHelp();
- return;
- }
- var name = arguments[0];
-
- if (!Browser.supportedBrowser(name)) {
- print("Specified browser not supported");
- printHelp();
- return;
- }
-
- var executable = Locations.getBrowserLocation(name, {});
- var browser = new Browser.byName(name, executable);
- browser.start(arguments[1]);
-}
« no previous file with comments | « tools/testing/dart/http_server.dart ('k') | tools/testing/dart/lib/android.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698