Commit 76900d68 authored by nednguyen@google.com's avatar nednguyen@google.com

Revert of Move actions after browser Start in cros_browser_backend.Start to...

Revert of Move actions after browser Start in cros_browser_backend.Start to DidStart. (patchset #1 of https://codereview.chromium.org/499453002/)

Reason for revert:
The original patch of this (https://codereview.chromium.org/449753002/) broke chromeos bot in https://code.google.com/p/chromium/issues/detail?id=406010

Original issue's description:
> Move actions after browser Start in cros_browser_backend.Start to DidStart.
> 
> BUG=406010
> NOTRY=true
> NOTREECHECKS=true
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291310

TBR=jennyz@chromium.org,achuith@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=406010

Review URL: https://codereview.chromium.org/502503002

Cr-Commit-Position: refs/heads/master@{#291426}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@291426 0039d316-1c4b-4281-b951-d872f2087c98
parent 5c411641
......@@ -136,10 +136,7 @@ class CrOSBrowserBackend(chrome_browser_backend.ChromeBrowserBackend):
# Wait for oobe.
self._WaitForBrowserToComeUp(wait_for_extensions=False)
util.WaitFor(lambda: self.oobe_exists, 10)
logging.info('Browser is up!')
def DidStart(self):
super(CrOSBrowserBackend, self).DidStart()
if self.browser_options.auto_login:
try:
if self._is_guest:
......@@ -157,6 +154,7 @@ class CrOSBrowserBackend(chrome_browser_backend.ChromeBrowserBackend):
self._cri.TakeScreenShot('login-screen')
raise exceptions.LoginException('Timed out going through login screen')
logging.info('Browser is up!')
def Close(self):
super(CrOSBrowserBackend, self).Close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment