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
3 # found in the LICENSE file.
4 class PossibleBrowser(object):
5 """A browser that can be controlled.
7 Call Create() to launch the browser and begin manipulating it..
10 def __init__(self, browser_type, finder_options):
11 self._browser_type = browser_type
12 self._finder_options = finder_options
15 return 'PossibleBrowser(browser_type=%s)' % self.browser_type
18 def browser_type(self):
19 return self._browser_type
22 def finder_options(self):
23 return self._finder_options
26 raise NotImplementedError()
28 def SupportsOptions(self, finder_options):
29 """Tests for extension support."""
30 raise NotImplementedError()
32 def last_modification_time(self):