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

Unified Diff: tools/telemetry/telemetry/core/chrome/browser_backend.py

Issue 13836002: Fix navigation of chrome://oobe/login. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 7 years, 8 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 | « no previous file | tools/telemetry/telemetry/core/chrome/cros_util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/chrome/browser_backend.py
===================================================================
--- tools/telemetry/telemetry/core/chrome/browser_backend.py (revision 194990)
+++ tools/telemetry/telemetry/core/chrome/browser_backend.py (working copy)
@@ -17,6 +17,7 @@
from telemetry.core.chrome import extension_dict_backend
from telemetry.core.chrome import tab_list_backend
from telemetry.core.chrome import tracing_backend
+from telemetry.core.chrome import misc_web_contents_backend
from telemetry.test import options_for_unittests
class ExtensionsNotSupportedException(Exception):
@@ -51,11 +52,13 @@
'unexpected effects due to profile-specific settings, '
'such as about:flags settings, cookies, and '
'extensions.\n')
+ self._misc_web_contents_backend = (
+ misc_web_contents_backend.MiscWebContentsBackend(self))
self._tab_list_backend = tab_list_backend.TabListBackend(self)
self._extension_dict_backend = None
if supports_extensions:
- self._extension_dict_backend = \
- extension_dict_backend.ExtensionDictBackend(self)
+ self._extension_dict_backend = (
+ extension_dict_backend.ExtensionDictBackend(self))
def SetBrowser(self, browser):
self._browser = browser
@@ -71,6 +74,12 @@
return self._supports_extensions
@property
+ def misc_web_contents_backend(self):
+ """Access to chrome://oobe/login page which is neither a tab nor an
+ extension."""
+ return self._misc_web_contents_backend
+
+ @property
def tab_list_backend(self):
return self._tab_list_backend
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/chrome/cros_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698