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

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: Addressed comment 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..758b649bdf2a6e47d95445ad360a6cca45e360ab 100644
--- a/chrome/browser/profiles/profiles_state.h
+++ b/chrome/browser/profiles/profiles_state.h
@@ -104,8 +104,9 @@ 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.
-bool AreAllProfilesLocked();
+// Returns true if there exists at least one non-supervised or non-child profile
+// and they are all locked.
+bool AreAllNonChildNonSupervisedProfilesLocked();
} // 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