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

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

Issue 12987006: Decouple managed mode code from the policy code in ProfileImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 9 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/profile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index f0b00790032f292fa3f3e5d42e4d9126702f09af..07a3944d8b52efff1fb29e535df73878b225f36a 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -208,9 +208,11 @@ class ProfileImpl : public Profile {
// should become proper ProfileKeyedServices as well.
#if !defined(OS_CHROMEOS)
scoped_ptr<policy::UserCloudPolicyManager> cloud_policy_manager_;
-#endif
+#endif // !defined(OS_CHROMEOS)
+#if defined(ENABLE_MANAGED_USERS)
scoped_ptr<policy::ManagedModePolicyProvider> managed_mode_policy_provider_;
-#endif
+#endif // defined(ENABLE_MANAGED_USERS)
+#endif // defined(ENABLE_CONFIGURATION_POLICY)
scoped_ptr<policy::PolicyService> policy_service_;
// Keep |prefs_| on top for destruction order because |extension_prefs_|,
« no previous file with comments | « no previous file | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698