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

Unified Diff: components/policy/core/common/cloud/policy_header_service_unittest.cc

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
« no previous file with comments | « components/policy/core/common/cloud/policy_header_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/cloud/policy_header_service_unittest.cc
diff --git a/components/policy/core/common/cloud/policy_header_service_unittest.cc b/components/policy/core/common/cloud/policy_header_service_unittest.cc
index 8d8cc4cd29f0b725e887c50e0297b5d46137e0df..2a85b45f12219bb88d72f78fc46f7630f8229fcc 100644
--- a/components/policy/core/common/cloud/policy_header_service_unittest.cc
+++ b/components/policy/core/common/cloud/policy_header_service_unittest.cc
@@ -46,8 +46,7 @@ class PolicyHeaderServiceTest : public testing::Test {
void SetUp() override {
service_.reset(new PolicyHeaderService(kDMServerURL,
kPolicyVerificationKeyHash,
- &user_store_,
- &device_store_));
+ &user_store_));
helper_ = service_->CreatePolicyHeaderIOHelper(task_runner_);
}
@@ -88,7 +87,6 @@ class PolicyHeaderServiceTest : public testing::Test {
base::MessageLoop loop_;
std::unique_ptr<PolicyHeaderService> service_;
TestCloudPolicyStore user_store_;
- TestCloudPolicyStore device_store_;
std::unique_ptr<PolicyHeaderIOHelper> helper_;
scoped_refptr<base::TestSimpleTaskRunner> task_runner_;
};
« no previous file with comments | « components/policy/core/common/cloud/policy_header_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698