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

Unified Diff: chrome/browser/profiles/profiles_state.h

Issue 2325643003: Disables user manager actions only if there is at least one regular profile and they're all locked. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | 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/profiles_state.h
diff --git a/chrome/browser/profiles/profiles_state.h b/chrome/browser/profiles/profiles_state.h
index cc85aaf5741ba9aacf2ef399c4a7e2d003b99742..51a3d008938d116b101a75ee9c9e10749db7eebc 100644
--- a/chrome/browser/profiles/profiles_state.h
+++ b/chrome/browser/profiles/profiles_state.h
@@ -104,7 +104,8 @@ bool GetFastUserSwitchingTutorialDismissedState();
// System Profile directory, which is an invalid last used profile.
void SetLastUsedProfile(const std::string& profile_dir);
-// Returns true if all non-supervised and non-child profiles are locked.
+// Returns true if there exists at least one non-supervised or non-child profile
+// and they are all locked.
bool AreAllProfilesLocked();
anthonyvd 2016/09/08 14:27:54 nit: can this be renamed to something more descrip
Moe 2016/09/08 17:37:03 Done.
} // namespace profiles
« no previous file with comments | « no previous file | chrome/browser/profiles/profiles_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698