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

Unified Diff: chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc

Issue 2970463002: ChromeOS: Enable Gaia v2 API by default. (Closed)
Patch Set: Update after review. Created 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 88d1809a9abd3acf5daf281fb3c848f03445b8dd..0f10fc1ecbb8fc7d56234c76a8e1dee36beb1dd1 100644
--- a/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc
@@ -352,12 +352,15 @@ void GaiaScreenHandler::LoadGaiaWithVersion(
params.SetString("gaiaPath", eafe_path);
}
+ // Easy bootstrap is not v2-compatible
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kCrosGaiaApiV1)) {
- params.SetString("chromeOSApiVersion", "1");
- } else if (use_easy_bootstrap_) {
- // Easy bootstrap is not v2-compatible
+ switches::kCrosGaiaApiV1) ||
+ use_easy_bootstrap_) {
params.SetString("chromeOSApiVersion", "1");
+ } else {
+ // This enables GLIF MM UI for the online Gaia screen by default.
+ // (see https://crbug.com/709244 ).
+ params.SetString("chromeOSApiVersion", "2");
}
frame_state_ = FRAME_STATE_LOADING;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698