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

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

Issue 2959523002: Revert of ChromeOS: Enable Gaia v2 API by default. (Closed)
Patch Set: 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 | google_apis/gaia/fake_gaia.cc » ('j') | 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 886ae3c45bda289798179b4fa2db00c63615b9dc..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,17 +348,9 @@
params.SetString("gaiaUrl", eafe_url);
params.SetString("gaiaPath", eafe_path);
}
-
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kCrosGaiaApiV1)) {
params.SetString("chromeOSApiVersion", "1");
- } else if (use_easy_bootstrap_) {
- // Easy bootstrap is not v2-compatible
- 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 | google_apis/gaia/fake_gaia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698