Index: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc |
diff --git a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc |
index eb45c93da9a701a1939377f0fce2b23336f1c0aa..e530027a98342f303884801e19bd05f6f774b049 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc |
@@ -348,6 +348,10 @@ void GaiaScreenHandler::LoadGaiaWithVersion( |
params.SetString("gaiaUrl", eafe_url); |
params.SetString("gaiaPath", eafe_path); |
} |
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kCrosGaiaApiV1)) { |
+ params.SetString("chromeOSApiVersion", "1"); |
+ } |
frame_state_ = FRAME_STATE_LOADING; |
CallJS("loadAuthExtension", params); |