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

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

Issue 6979011: Move user cloud policy to BrowserProcess. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments by mnissler. Created 9 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/policy/configuration_policy_store_interface.h
diff --git a/chrome/browser/policy/configuration_policy_store_interface.h b/chrome/browser/policy/configuration_policy_store_interface.h
index b05fab4c98fb2ebb2e586e54fcaea081608ac7eb..b45f2f53c44210ff7fbdbcd20c536cfa8a714d96 100644
--- a/chrome/browser/policy/configuration_policy_store_interface.h
+++ b/chrome/browser/policy/configuration_policy_store_interface.h
@@ -50,48 +50,6 @@ class ConfigurationPolicyStoreInterface {
DISALLOW_COPY_AND_ASSIGN(ConfigurationPolicyStoreInterface);
};
-// Helper class. A pass-through ConfigurationPolicyStoreInterface, that observes
-// the application of well-known policies.
-class ObservingPolicyStoreInterface: public ConfigurationPolicyStoreInterface {
- public:
- explicit ObservingPolicyStoreInterface(
- ConfigurationPolicyStoreInterface* next)
- : next_(next),
- proxy_policy_applied_(false) {}
-
- // ConfigurationPolicyStoreInterface methods:
- virtual void Apply(ConfigurationPolicyType policy, Value* value) OVERRIDE;
-
- bool IsProxyPolicyApplied() const {
- return proxy_policy_applied_;
- }
-
- private:
- ConfigurationPolicyStoreInterface* next_;
- bool proxy_policy_applied_;
-
- DISALLOW_COPY_AND_ASSIGN(ObservingPolicyStoreInterface);
-};
-
-// Helper class. A ConfigurationPolicyStoreInterface that filters out most
-// policies, and only applies well-known policies.
-class FilteringPolicyStoreInterface: public ConfigurationPolicyStoreInterface {
- public:
- FilteringPolicyStoreInterface(ConfigurationPolicyStoreInterface* next,
- bool apply_proxy_policies)
- : next_(next),
- apply_proxy_policies_(apply_proxy_policies) {}
-
- // ConfigurationPolicyStoreInterface methods:
- virtual void Apply(ConfigurationPolicyType policy, Value* value) OVERRIDE;
-
- private:
- ConfigurationPolicyStoreInterface* next_;
- bool apply_proxy_policies_;
-
- DISALLOW_COPY_AND_ASSIGN(FilteringPolicyStoreInterface);
-};
-
} // namespace policy
#endif // CHROME_BROWSER_POLICY_CONFIGURATION_POLICY_STORE_INTERFACE_H_

Powered by Google App Engine
This is Rietveld 408576698