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

Unified Diff: chrome/browser/ui/cocoa/user_manager_mac.h

Issue 199533004: [Mac, Win] Show a user manager tutorial once per profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gab & nikita comments Created 6 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
Index: chrome/browser/ui/cocoa/user_manager_mac.h
diff --git a/chrome/browser/ui/cocoa/user_manager_mac.h b/chrome/browser/ui/cocoa/user_manager_mac.h
index 0ce144e8bc21a76ddeef68e64a41269db25d152d..1de76b5343392d05a40f307d1c4e400028e76c11 100644
--- a/chrome/browser/ui/cocoa/user_manager_mac.h
+++ b/chrome/browser/ui/cocoa/user_manager_mac.h
@@ -23,8 +23,10 @@ class WebContents;
class UserManagerMac {
public:
// Shows the User Manager or re-activates an existing one, focusing the
- // profile given by |profile_path_to_focus|.
- static void Show(const base::FilePath& profile_path_to_focus);
+ // profile given by |profile_path_to_focus|. If |show_tutorial| is true,
+ // then the user manager tutorial will be shown.
+ static void Show(const base::FilePath& profile_path_to_focus,
+ bool show_tutorial);
Alexei Svitkine (slow) 2014/03/14 21:04:40 Can this be an enum instead so that it's obvious w
noms (inactive) 2014/03/17 21:52:23 Added an enum as in the future we might (very like
// Hide the User Manager.
static void Hide();
@@ -44,6 +46,7 @@ class UserManagerMac {
// |status|), creates a new UserManagerMac instance with the user with path
// |profile_path_to_focus| focused.
static void OnGuestProfileCreated(const base::FilePath& profile_path_to_focus,
+ bool show_tutorial,
Profile* guest_profile,
Profile::CreateStatus status);

Powered by Google App Engine
This is Rietveld 408576698