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

Unified Diff: tools/chrome_remote_control/chrome_remote_control/__init__.py

Issue 11361165: [chrome_remote_control] Rename chrome_remote_control to telemetry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
Index: tools/chrome_remote_control/chrome_remote_control/__init__.py
diff --git a/tools/chrome_remote_control/chrome_remote_control/__init__.py b/tools/chrome_remote_control/chrome_remote_control/__init__.py
deleted file mode 100644
index d08a896fe26c18417762454237fa8268c311d00d..0000000000000000000000000000000000000000
--- a/tools/chrome_remote_control/chrome_remote_control/__init__.py
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright (c) 2012 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-"""A library for chrome-based tests.
-
-"""
-from chrome_remote_control.browser import Browser
-from chrome_remote_control.browser_finder import FindBrowser
-from chrome_remote_control.browser_finder import GetAllAvailableBrowserTypes
-from chrome_remote_control.browser_gone_exception import BrowserGoneException
-from chrome_remote_control.browser_options import BrowserOptions
-from chrome_remote_control.tab import Tab
-from chrome_remote_control.tab_crash_exception import TabCrashException
-from chrome_remote_control.util import TimeoutException, WaitFor
-
-def CreateBrowser(browser_type):
- """Shorthand way to create a browser of a given type
-
- However, note that the preferred way to create a browser is:
- options = BrowserOptions()
- _, leftover_args, = options.CreateParser().parse_args()
- browser_to_create = FindBrowser(options)
- return browser_to_create.Create()
-
- as it creates more opportunities for customization and
- error handling."""
- browser_to_create = FindBrowser(BrowserOptions(browser_type))
- if not browser_to_create:
- raise Exception('No browser of type %s found' % browser_type)
- return browser_to_create.Create()
« no previous file with comments | « tools/chrome_remote_control/README ('k') | tools/chrome_remote_control/chrome_remote_control/adb_commands.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698