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

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: cleanup 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
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_handler_impl.cc ('k') | chrome/test/base/test_browser_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ca2d9edede196d3aa2f7b38e4100830f0f59d5d1..8c98c508c032f2403e17a96d0fe00a765609ba29 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc
@@ -529,7 +529,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());
@@ -538,7 +538,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);
}
« no previous file with comments | « chrome/browser/ui/webui/signin/inline_login_handler_impl.cc ('k') | chrome/test/base/test_browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698