Move gaia component extension initialization closer to where it is really needed
commit859fcf40bf0e8b71a746f4227103a29323280179
authordpolukhin <dpolukhin@chromium.org>
Wed, 12 Nov 2014 14:51:45 +0000 (12 06:51 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 12 Nov 2014 14:52:30 +0000 (12 14:52 +0000)
treecfffec4a8b4f2dcced376929646a128f3ec61681
parent493b540c23126fa23d775231ea84cfd5e22d2fca
Move gaia component extension initialization closer to where it is really needed

SigninScreenHandler is used for showing OOBE and account picker screen so it is too early
to init the extension. GaiaScreenHandler::LoadGaia is called when GAIA screen is about
to show so it is right time to load the extension. On login screen after this change
the extension loads after account picker is ready.

BUG=348548
TEST=manual + existing tests

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

Cr-Commit-Position: refs/heads/master@{#303833}
chrome/browser/chromeos/login/ui/webui_login_view.cc
chrome/browser/chromeos/login/ui/webui_login_view.h
chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h