- add sources.
[platform/framework/web/crosswalk.git] / src / tools / telemetry / telemetry / core / backends / chrome / cros_browser_with_oobe.py
1 # Copyright 2013 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
5 from telemetry.core import browser
6 from telemetry.core.backends.chrome import cros_browser_backend
7
8 class CrOSBrowserWithOOBE(browser.Browser):
9   """Cros-specific browser."""
10   def __init__(self, backend, platform_backend):
11     assert isinstance(backend, cros_browser_backend.CrOSBrowserBackend)
12     super(CrOSBrowserWithOOBE, self).__init__(backend, platform_backend)
13
14   @property
15   def oobe(self):
16     """The login webui (also serves as ui for screenlock and
17     out-of-box-experience).
18     """
19     return self._browser_backend.oobe