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

Side by Side Diff: tools/telemetry/telemetry/possible_browser.py

Issue 12294002: Revert 182991 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 class PossibleBrowser(object): 4 class PossibleBrowser(object):
5 """A browser that can be controlled. 5 """A browser that can be controlled.
6 6
7 Call Create() to launch the browser and begin manipulating it.. 7 Call Create() to launch the browser and begin manipulating it..
8 """ 8 """
9 9
10 def __init__(self, browser_type, options): 10 def __init__(self, browser_type, options):
11 self.browser_type = browser_type 11 self.browser_type = browser_type
12 self._options = options 12 self._options = options
13 13
14 def __repr__(self): 14 def __repr__(self):
15 return 'PossibleBrowser(browser_type=%s)' % self.browser_type 15 return 'PossibleBrowser(browser_type=%s)' % self.browser_type
16 16
17 @property 17 @property
18 def options(self): 18 def options(self):
19 return self._options 19 return self._options
20 20
21 def Create(self): 21 def Create(self):
22 raise NotImplementedError() 22 raise NotImplementedError()
23 23
24 def SupportsOptions(self, options): 24 def SupportsOptions(self, options):
25 """Tests for extension support.""" 25 """Tests for extension support."""
26 raise NotImplementedError() 26 raise NotImplementedError()
OLDNEW
« no previous file with comments | « tools/telemetry/telemetry/png_bitmap_unittest.py ('k') | tools/telemetry/telemetry/record_wpr.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698