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

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

Issue 16332003: Support for system-guest on cros. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 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_browser_finder.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/chrome/cros_browser_backend.py
===================================================================
--- tools/telemetry/telemetry/core/chrome/cros_browser_backend.py (revision 204009)
+++ tools/telemetry/telemetry/core/chrome/cros_browser_backend.py (working copy)
@@ -111,9 +111,11 @@
'with chrome branches 1500 or earlier.')
if self._is_guest:
+ pid = self.pid
cros_util.NavigateGuestLogin(self, cri)
# Guest browsing shuts down the current browser and launches an incognito
- # browser, which we need to wait for.
+ # browser in a separate process, which we need to wait for.
+ util.WaitFor(lambda: pid != self.pid, 10)
self._WaitForBrowserToComeUp()
else:
cros_util.NavigateLogin(self)
« no previous file with comments | « no previous file | tools/telemetry/telemetry/core/chrome/cros_browser_finder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698