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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 2899083003: Delete unused tutorial code from profile switcher/user manager. (Closed)
Patch Set: delete UserManagerTutorialMode enum Created 3 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
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 810c6f97f8dcc2e62ea11ebce19ca3d791751e4f..93ddafd3825d1c5d61bada72b1eff9e4146966bc 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -2526,15 +2526,13 @@ void BrowserView::ShowAvatarBubbleFromAvatarButton(
return;
profiles::BubbleViewMode bubble_view_mode;
- profiles::TutorialMode tutorial_mode;
- profiles::BubbleViewModeFromAvatarBubbleMode(mode, &bubble_view_mode,
- &tutorial_mode);
+ profiles::BubbleViewModeFromAvatarBubbleMode(mode, &bubble_view_mode);
if (SigninViewController::ShouldShowModalSigninForMode(bubble_view_mode)) {
browser_->signin_view_controller()->ShowModalSignin(
bubble_view_mode, browser_.get(), access_point);
} else {
- ProfileChooserView::ShowBubble(bubble_view_mode, tutorial_mode,
- manage_accounts_params, access_point,
+ ProfileChooserView::ShowBubble(bubble_view_mode, manage_accounts_params,
+ access_point,
frame_->GetNewAvatarMenuButton(), browser(),
focus_first_profile_button);
ProfileMetrics::LogProfileOpenMethod(ProfileMetrics::ICON_AVATAR_BUBBLE);

Powered by Google App Engine
This is Rietveld 408576698