Index: components/policy/core/common/policy_service_impl.h |
diff --git a/components/policy/core/common/policy_service_impl.h b/components/policy/core/common/policy_service_impl.h |
index a10e881a2b0fd49d1e599f356b10511fa77ce042..1a67a419398728966702b1cd72aaf3d43bc5e878 100644 |
--- a/components/policy/core/common/policy_service_impl.h |
+++ b/components/policy/core/common/policy_service_impl.h |
@@ -28,15 +28,12 @@ class POLICY_EXPORT PolicyServiceImpl |
public ConfigurationPolicyProvider::Observer { |
public: |
typedef std::vector<ConfigurationPolicyProvider*> Providers; |
- typedef base::Callback<void(PolicyBundle*)> PreprocessCallback; |
// The PolicyServiceImpl will merge policies from |providers|. |providers| |
// must be sorted in decreasing order of priority; the first provider will |
// have the highest priority. The PolicyServiceImpl does not take ownership of |
// the providers, and they must outlive the PolicyServiceImpl. |
- // |preprocess_callback| will be applied every PolicyBundle before merginng. |
- PolicyServiceImpl(const Providers& providers, |
- const PreprocessCallback& preprocess_callback); |
+ explicit PolicyServiceImpl(const Providers& providers); |
virtual ~PolicyServiceImpl(); |
@@ -90,9 +87,6 @@ class POLICY_EXPORT PolicyServiceImpl |
// call to RefreshPolicies(). |
std::set<ConfigurationPolicyProvider*> refresh_pending_; |
- // Callback invoked to manipulate a PolicyBundle before it is merged. |
- PreprocessCallback preprocess_callback_; |
- |
// List of callbacks to invoke once all providers refresh after a |
// RefreshPolicies() call. |
std::vector<base::Closure> refresh_callbacks_; |