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

Unified Diff: google_apis/gaia/fake_gaia.cc

Issue 2952903002: ChromeOS: Add support for Gaia v2 API to FakeGaia and screen handler. (Closed)
Patch Set: Disable v2 by default 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 | « chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc ('k') | google_apis/gaia/gaia_urls.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/fake_gaia.cc
diff --git a/google_apis/gaia/fake_gaia.cc b/google_apis/gaia/fake_gaia.cc
index c74fbf93b4aaca959b6edd9cb22ad5e595948b4b..f22907956797945d72eae52ce7ee9eb39b13069c 100644
--- a/google_apis/gaia/fake_gaia.cc
+++ b/google_apis/gaia/fake_gaia.cc
@@ -245,7 +245,10 @@ void FakeGaia::Initialize() {
gaia_urls->service_login_url(), HandleServiceLogin);
// Handles /embedded/setup/chromeos GAIA call.
- REGISTER_RESPONSE_HANDLER(gaia_urls->embedded_setup_chromeos_url(),
+ REGISTER_RESPONSE_HANDLER(gaia_urls->embedded_setup_chromeos_url(1),
+ HandleEmbeddedSetupChromeos);
+ // Handles /embedded/setup/v2/chromeos GAIA call.
+ REGISTER_RESPONSE_HANDLER(gaia_urls->embedded_setup_chromeos_url(2),
HandleEmbeddedSetupChromeos);
// Handles /OAuthLogin GAIA call.
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.cc ('k') | google_apis/gaia/gaia_urls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698