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

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

Issue 10384145: Removed ConfigurationPolicyProvider::Provide(). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased Created 8 years, 7 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/policy/configuration_policy_provider.h
diff --git a/chrome/browser/policy/configuration_policy_provider.h b/chrome/browser/policy/configuration_policy_provider.h
index f12b285fafd47b112ae2c2d2320bdfab54c9fd5e..d7b0e02e81e07aa1c34004a4a644226d95734465 100644
--- a/chrome/browser/policy/configuration_policy_provider.h
+++ b/chrome/browser/policy/configuration_policy_provider.h
@@ -14,7 +14,6 @@
namespace policy {
struct PolicyDefinitionList;
-class PolicyMap;
// A mostly-abstract super class for platform-specific policy providers.
// Platform-specific policy providers (Windows Group Policy, gconf,
@@ -32,13 +31,6 @@ class ConfigurationPolicyProvider {
virtual ~ConfigurationPolicyProvider();
- // Fills the given |result| with the current policy values. Returns true if
- // the policies were provided. This is used mainly by the
- // ConfigurationPolicyPrefStore, which retrieves policy values from here.
- // DEPRECATED: this call is going away, use policies() instead.
- // http://crbug.com/108993
- bool Provide(PolicyMap* result);
-
// Returns the current PolicyBundle.
const PolicyBundle& policies() const { return policy_bundle_; }
@@ -54,11 +46,6 @@ class ConfigurationPolicyProvider {
// OnUpdatePolicy won't be called if that happens.
virtual void RefreshPolicies() = 0;
- // Utility method that converts deprecated policies into their corresponding
- // actual policies. Subclasses can use this to fix deprecated policies in
- // PolicyMaps that they obtained from elsewhere.
- static void FixDeprecatedPolicies(PolicyMap* policies);
-
protected:
// Subclasses must invoke this to update the policies currently served by
// this provider. UpdatePolicy() takes ownership of |policies|.
« no previous file with comments | « chrome/browser/policy/config_dir_policy_provider_unittest.cc ('k') | chrome/browser/policy/configuration_policy_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698