OLD | NEW |
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_PROFILES_STATE_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "chrome/browser/profiles/avatar_menu.h" | 10 #include "chrome/browser/profiles/avatar_menu.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // If the current active profile (given by prefs::kProfileLastUsed) is locked, | 85 // If the current active profile (given by prefs::kProfileLastUsed) is locked, |
86 // changes the active profile to the Guest profile. Returns true if the active | 86 // changes the active profile to the Guest profile. Returns true if the active |
87 // profile had been Guest before calling or became Guest as a result of this | 87 // profile had been Guest before calling or became Guest as a result of this |
88 // method. | 88 // method. |
89 bool SetActiveProfileToGuestIfLocked(); | 89 bool SetActiveProfileToGuestIfLocked(); |
90 | 90 |
91 // If the profile given by |profile_path| is loaded in the ProfileManager, use | 91 // If the profile given by |profile_path| is loaded in the ProfileManager, use |
92 // a BrowsingDataRemover to delete all the Profile's data. | 92 // a BrowsingDataRemover to delete all the Profile's data. |
93 void RemoveBrowsingDataForProfile(const base::FilePath& profile_path); | 93 void RemoveBrowsingDataForProfile(const base::FilePath& profile_path); |
94 | 94 |
| 95 // Marks the right-click user switching tutorial dismissed state as |dismissed|. |
| 96 void SetFastUserSwitchingTutorialDismissedState(bool dismissed); |
| 97 |
| 98 // Returns true if the right-click user switching tutorial was previously |
| 99 // dismissed by a user, false otherwise. |
| 100 bool GetFastUserSwitchingTutorialDismissedState(); |
| 101 |
95 } // namespace profiles | 102 } // namespace profiles |
96 | 103 |
97 #endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ | 104 #endif // CHROME_BROWSER_PROFILES_PROFILES_STATE_H_ |
OLD | NEW |