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

Unified Diff: chrome/browser/ui/webui/sync_setup_handler.cc

Issue 345533005: Parse extra parameters on x-chrome-manage-accounts header (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
Index: chrome/browser/ui/webui/sync_setup_handler.cc
diff --git a/chrome/browser/ui/webui/sync_setup_handler.cc b/chrome/browser/ui/webui/sync_setup_handler.cc
index 346247d7673b2d6e4e2d409396b5987ee8808653..232391b72f51a187668182935342fc6e97d56f9c 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc
@@ -523,7 +523,7 @@ void SyncSetupHandler::DisplayGaiaLoginInNewTabOrWindow() {
if (switches::IsNewProfileManagement()) {
browser->window()->ShowAvatarBubbleFromAvatarButton(
BrowserWindow::AVATAR_BUBBLE_MODE_REAUTH,
- signin::GAIA_SERVICE_TYPE_NONE);
+ signin::ManageAccountsParams());
} else {
url = signin::GetReauthURL(browser->profile(),
error_controller->error_account_id());
@@ -532,7 +532,7 @@ void SyncSetupHandler::DisplayGaiaLoginInNewTabOrWindow() {
if (switches::IsNewProfileManagement()) {
browser->window()->ShowAvatarBubbleFromAvatarButton(
BrowserWindow::AVATAR_BUBBLE_MODE_SIGNIN,
- signin::GAIA_SERVICE_TYPE_NONE);
+ signin::ManageAccountsParams());
} else {
url = signin::GetPromoURL(signin::SOURCE_SETTINGS, true);
}

Powered by Google App Engine
This is Rietveld 408576698