Commit e1708b1a authored by Kush Sinha's avatar Kush Sinha Committed by Commit Bot

Change GAIA path for CrOS Account Manager's add account flow

Bug: 833797
Change-Id: Ib83ba49c9cd87d8ff8723ea53b6f32404f0e066a
Reviewed-on: https://chromium-review.googlesource.com/1082473
Commit-Queue: Kush Sinha <sinhak@chromium.org>
Reviewed-by: default avatarMihai Sardarescu <msarda@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567686}
parent 67f0028b
...@@ -97,13 +97,12 @@ InlineLoginHandlerChromeOS::~InlineLoginHandlerChromeOS() = default; ...@@ -97,13 +97,12 @@ InlineLoginHandlerChromeOS::~InlineLoginHandlerChromeOS() = default;
void InlineLoginHandlerChromeOS::SetExtraInitParams( void InlineLoginHandlerChromeOS::SetExtraInitParams(
base::DictionaryValue& params) { base::DictionaryValue& params) {
const GaiaUrls* const gaia_urls = GaiaUrls::GetInstance();
params.SetKey("service", base::Value("chromiumsync")); params.SetKey("service", base::Value("chromiumsync"));
params.SetKey("isNewGaiaFlow", base::Value(true)); params.SetKey("isNewGaiaFlow", base::Value(true));
params.SetKey( params.SetKey("clientId", base::Value(gaia_urls->oauth2_chrome_client_id()));
"clientId",
base::Value(GaiaUrls::GetInstance()->oauth2_chrome_client_id()));
const GURL& url = GaiaUrls::GetInstance()->embedded_signin_url(); const GURL& url = gaia_urls->embedded_setup_chromeos_url(2U);
params.SetKey("gaiaPath", base::Value(url.path().substr(1))); params.SetKey("gaiaPath", base::Value(url.path().substr(1)));
params.SetKey("constrained", base::Value("1")); params.SetKey("constrained", base::Value("1"));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment