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

Unified Diff: components/policy/core/common/cloud/policy_header_service.h

Issue 2530103002: Remove device policy store from PolicyHeaderService since it's not used. (Closed)
Patch Set: Created 4 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: components/policy/core/common/cloud/policy_header_service.h
diff --git a/components/policy/core/common/cloud/policy_header_service.h b/components/policy/core/common/cloud/policy_header_service.h
index 10da5ba3ff9311c26db26ceb394051fbc419b86f..def3d3a4e3662a6a7f2bee70da568f3a3895cff3 100644
--- a/components/policy/core/common/cloud/policy_header_service.h
+++ b/components/policy/core/common/cloud/policy_header_service.h
@@ -32,8 +32,7 @@ class POLICY_EXPORT PolicyHeaderService : public CloudPolicyStore::Observer {
// outlive this object.
PolicyHeaderService(const std::string& server_url,
const std::string& verification_key_hash,
- CloudPolicyStore* user_policy_store,
- CloudPolicyStore* device_policy_store);
+ CloudPolicyStore* user_policy_store);
~PolicyHeaderService() override;
// Creates a PolicyHeaderIOHelper object to be run on the IO thread and
@@ -64,9 +63,8 @@ class POLICY_EXPORT PolicyHeaderService : public CloudPolicyStore::Observer {
// Identifier for the verification key this Chrome instance is using.
std::string verification_key_hash_;
- // Weak pointers to User-/Device-level policy stores.
+ // Weak pointer to the User-level policy store.
CloudPolicyStore* user_policy_store_;
- CloudPolicyStore* device_policy_store_;
DISALLOW_COPY_AND_ASSIGN(PolicyHeaderService);
};

Powered by Google App Engine
This is Rietveld 408576698