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

Unified Diff: chrome/browser/profiles/profile_window.cc

Issue 2765413002: Removing fast user switcher tutorial (Closed)
Patch Set: Created 3 years, 9 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/profiles/profile_window.h ('k') | chrome/browser/profiles/profiles_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_window.cc
diff --git a/chrome/browser/profiles/profile_window.cc b/chrome/browser/profiles/profile_window.cc
index ec6a9e2efee8a8c5ac408b44c68c24352a8290e6..479b614595ecdb32ad4b819899752b2655a54386 100644
--- a/chrome/browser/profiles/profile_window.cc
+++ b/chrome/browser/profiles/profile_window.cc
@@ -524,14 +524,4 @@ bool ShouldShowWelcomeUpgradeTutorial(
show_count != signin_ui_util::kUpgradeWelcomeTutorialShowMax;
}
-bool ShouldShowRightClickTutorial(Profile* profile) {
- PrefService* local_state = g_browser_process->local_state();
- const bool dismissed = local_state->GetBoolean(
- prefs::kProfileAvatarRightClickTutorialDismissed);
-
- // Don't show the tutorial if it's already been dismissed or if right-clicking
- // wouldn't show any targets.
- return !dismissed && HasProfileSwitchTargets(profile);
-}
-
} // namespace profiles
« no previous file with comments | « chrome/browser/profiles/profile_window.h ('k') | chrome/browser/profiles/profiles_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698