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

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

Issue 288493008: UMA Metrics for the user menu, including vasquette-detection (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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/views/profiles/profile_chooser_view.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 8bb50ef92f3b99f9e0bccc9f6a23722cadd44341..346247d7673b2d6e4e2d409396b5987ee8808653 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc
@@ -24,6 +24,7 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/profiles/profile_metrics.h"
#include "chrome/browser/signin/profile_oauth2_token_service_factory.h"
+#include "chrome/browser/signin/signin_header_helper.h"
#include "chrome/browser/signin/signin_manager_factory.h"
#include "chrome/browser/signin/signin_promo.h"
#include "chrome/browser/sync/profile_sync_service.h"
@@ -521,7 +522,8 @@ void SyncSetupHandler::DisplayGaiaLoginInNewTabOrWindow() {
DCHECK(error_controller->HasError());
if (switches::IsNewProfileManagement()) {
browser->window()->ShowAvatarBubbleFromAvatarButton(
- BrowserWindow::AVATAR_BUBBLE_MODE_REAUTH);
+ BrowserWindow::AVATAR_BUBBLE_MODE_REAUTH,
+ signin::GAIA_SERVICE_TYPE_NONE);
} else {
url = signin::GetReauthURL(browser->profile(),
error_controller->error_account_id());
@@ -529,7 +531,8 @@ void SyncSetupHandler::DisplayGaiaLoginInNewTabOrWindow() {
} else {
if (switches::IsNewProfileManagement()) {
browser->window()->ShowAvatarBubbleFromAvatarButton(
- BrowserWindow::AVATAR_BUBBLE_MODE_SIGNIN);
+ BrowserWindow::AVATAR_BUBBLE_MODE_SIGNIN,
+ signin::GAIA_SERVICE_TYPE_NONE);
} else {
url = signin::GetPromoURL(signin::SOURCE_SETTINGS, true);
}
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | chrome/test/base/test_browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698