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

Side by Side Diff: chrome/browser/profiles/profile_window.h

Issue 1220843003: Perform online reauth when password is changed for a locked profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 5 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/profiles/profile_manager.h" 9 #include "chrome/browser/profiles/profile_manager.h"
10 #include "chrome/browser/profiles/profile_metrics.h" 10 #include "chrome/browser/profiles/profile_metrics.h"
(...skipping 24 matching lines...) Expand all
35 USER_MANAGER_SELECT_PROFILE_APP_LAUNCHER, 35 USER_MANAGER_SELECT_PROFILE_APP_LAUNCHER,
36 }; 36 };
37 37
38 extern const char kUserManagerDisplayTutorial[]; 38 extern const char kUserManagerDisplayTutorial[];
39 extern const char kUserManagerSelectProfileTaskManager[]; 39 extern const char kUserManagerSelectProfileTaskManager[];
40 extern const char kUserManagerSelectProfileAboutChrome[]; 40 extern const char kUserManagerSelectProfileAboutChrome[];
41 extern const char kUserManagerSelectProfileChromeSettings[]; 41 extern const char kUserManagerSelectProfileChromeSettings[];
42 extern const char kUserManagerSelectProfileChromeMemory[]; 42 extern const char kUserManagerSelectProfileChromeMemory[];
43 extern const char kUserManagerSelectProfileAppLauncher[]; 43 extern const char kUserManagerSelectProfileAppLauncher[];
44 44
45 // Returns the path of the profile connected to the given email. If no profile
46 // is found an empty file path is returned.
47 base::FilePath GetPathOfProfileWithEmail(ProfileManager* profile_manager,
48 const std::string& email);
49
45 // Activates a window for |profile| on the desktop specified by 50 // Activates a window for |profile| on the desktop specified by
46 // |desktop_type|. If no such window yet exists, or if |always_create| is 51 // |desktop_type|. If no such window yet exists, or if |always_create| is
47 // true, this first creates a new window, then activates 52 // true, this first creates a new window, then activates
48 // that. If activating an exiting window and multiple windows exists then the 53 // that. If activating an exiting window and multiple windows exists then the
49 // window that was most recently active is activated. This is used for 54 // window that was most recently active is activated. This is used for
50 // creation of a window from the multi-profile dropdown menu. 55 // creation of a window from the multi-profile dropdown menu.
51 void FindOrCreateNewWindowForProfile( 56 void FindOrCreateNewWindowForProfile(
52 Profile* profile, 57 Profile* profile,
53 chrome::startup::IsProcessStartup process_startup, 58 chrome::startup::IsProcessStartup process_startup,
54 chrome::startup::IsFirstRun is_first_run, 59 chrome::startup::IsFirstRun is_first_run,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 bool ShouldShowWelcomeUpgradeTutorial( 133 bool ShouldShowWelcomeUpgradeTutorial(
129 Profile* profile, TutorialMode tutorial_mode); 134 Profile* profile, TutorialMode tutorial_mode);
130 135
131 // Returns true if the tutorial informing the user about right-click user 136 // Returns true if the tutorial informing the user about right-click user
132 // switching should be shown, false otherwise. 137 // switching should be shown, false otherwise.
133 bool ShouldShowRightClickTutorial(Profile* profile); 138 bool ShouldShowRightClickTutorial(Profile* profile);
134 139
135 } // namespace profiles 140 } // namespace profiles
136 141
137 #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ 142 #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_window.cc » ('j') | chrome/browser/profiles/profile_window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698