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

Unified Diff: chrome/browser/ui/views/profiles/user_manager_view.h

Issue 564453003: Access to Chrome via the System Tray should go through the User Manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor ShowUserManager into a new static class Created 6 years, 3 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/profiles/user_manager_view.h
diff --git a/chrome/browser/ui/views/profiles/user_manager_view.h b/chrome/browser/ui/views/profiles/user_manager_view.h
index d9be1d38ae22510560fc0b642544d8682f84f776..6fe9739cfe52056be72d26220d9b674b39c99607 100644
--- a/chrome/browser/ui/views/profiles/user_manager_view.h
+++ b/chrome/browser/ui/views/profiles/user_manager_view.h
@@ -22,9 +22,11 @@ class UserManagerView : public views::DialogDelegateView {
// Shows the User Manager or re-activates an existing one, focusing the
// profile given by |profile_path_to_focus|. Based on the value of
// |tutorial_mode|, a tutorial could be shown, in which case
- // |profile_path_to_focus| is ignored.
+ // |profile_path_to_focus| is ignored. After a profile is opened, execute the
+ // |profile_open_action|.
static void Show(const base::FilePath& profile_path_to_focus,
Peter Kasting 2014/09/15 20:17:28 Nit: I'd eliminate these three public statics and
Mike Lerman 2014/09/17 18:31:46 In the interest of keeping private things private
Peter Kasting 2014/09/17 20:14:13 I don't know if I understand your plan. Perhaps y
Mike Lerman 2014/09/18 18:32:45 Couldn't find a great approach. I eliminated these
- profiles::UserManagerTutorialMode tutorial_mode);
+ profiles::UserManagerTutorialMode tutorial_mode,
+ profiles::UserManagerProfileSelected profile_open_action);
// Hide the User Manager.
static void Hide();

Powered by Google App Engine
This is Rietveld 408576698