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

Unified Diff: chrome/browser/policy/configuration_policy_pref_store.h

Issue 5174006: Move DeviceManagementPolicyProvider into the profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback. Created 10 years, 1 month 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/policy/configuration_policy_pref_store.h
diff --git a/chrome/browser/policy/configuration_policy_pref_store.h b/chrome/browser/policy/configuration_policy_pref_store.h
index e4792c6a57722e34248bceaa865cce8ad7773bba..be898a8aef07c20e4ee93dd2e183d40873cc5d04 100644
--- a/chrome/browser/policy/configuration_policy_pref_store.h
+++ b/chrome/browser/policy/configuration_policy_pref_store.h
@@ -17,6 +17,8 @@
#include "chrome/browser/policy/configuration_policy_store_interface.h"
#include "chrome/common/pref_store.h"
+class Profile;
+
namespace policy {
// An implementation of the |PrefStore| that holds a Dictionary
@@ -43,7 +45,8 @@ class ConfigurationPolicyPrefStore : public PrefStore,
// Creates a ConfigurationPolicyPrefStore that supplies policy from
// the device management server.
- static ConfigurationPolicyPrefStore* CreateDeviceManagementPolicyPrefStore();
+ static ConfigurationPolicyPrefStore* CreateDeviceManagementPolicyPrefStore(
+ Profile* profile);
// Creates a ConfigurationPolicyPrefStore that reads recommended policy.
static ConfigurationPolicyPrefStore* CreateRecommendedPolicyPrefStore();

Powered by Google App Engine
This is Rietveld 408576698