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

Unified Diff: chrome/browser/chromeos/login/user_manager_impl.h

Issue 17546004: Added policy for disabling locally managed users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Little fix. Created 7 years, 6 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/chromeos/login/user_manager_impl.h
diff --git a/chrome/browser/chromeos/login/user_manager_impl.h b/chrome/browser/chromeos/login/user_manager_impl.h
index 63be8224afa40ed38392a255e27c2a336d8176bf..9c94fd2ffb9e30526ff03ed1b88d3114f9b88e52 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.h
+++ b/chrome/browser/chromeos/login/user_manager_impl.h
@@ -134,6 +134,7 @@ class UserManagerImpl
virtual void SetAppModeChromeClientOAuthInfo(
const std::string& chrome_client_id,
const std::string& chrome_client_secret) OVERRIDE;
+ virtual bool AreLocallyManagedUsersAllowed() const OVERRIDE;
// content::NotificationObserver implementation.
virtual void Observe(int type,
@@ -357,6 +358,11 @@ class UserManagerImpl
// policy yet.
bool ephemeral_users_enabled_;
+ // Cached flag indicating whether the locally managed users enabled by policy.
Bernhard Bauer 2013/06/21 11:59:25 Nit: This sentence doesn't parse. I think you want
dzhioev (left Google) 2013/06/21 16:48:17 Done.
+ // Defaults to |false| if the value has not been read from trusted device
+ // policy yet.
+ bool locally_managed_users_enabled_by_policy_;
+
// Merge session state (cookie restore process state).
MergeSessionState merge_session_state_;

Powered by Google App Engine
This is Rietveld 408576698