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

Unified Diff: chrome/browser/policy/cloud_policy_controller_unittest.cc

Issue 9111022: Removed ConfigurationPolicyType and extended PolicyMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 11 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/cloud_policy_controller_unittest.cc
diff --git a/chrome/browser/policy/cloud_policy_controller_unittest.cc b/chrome/browser/policy/cloud_policy_controller_unittest.cc
index 6295b2c15d3f2f765861ae54ae1644ad75e68d08..527c4b4b3510f8e2677937112f9b2e46367d1f70 100644
--- a/chrome/browser/policy/cloud_policy_controller_unittest.cc
+++ b/chrome/browser/policy/cloud_policy_controller_unittest.cc
@@ -105,9 +105,8 @@ class CloudPolicyControllerTest : public testing::Test {
void ExpectHasSpdyPolicy() {
base::FundamentalValue expected(true);
- const PolicyMap* policy_map = cache_->policy(
- CloudPolicyCacheBase::POLICY_LEVEL_MANDATORY);
- ASSERT_TRUE(Value::Equals(&expected, policy_map->Get(kPolicyDisableSpdy)));
+ ASSERT_TRUE(Value::Equals(&expected,
+ cache_->policy()->GetValue(key::kDisableSpdy)));
}
protected:
« no previous file with comments | « chrome/browser/policy/cloud_policy_cache_base.cc ('k') | chrome/browser/policy/cloud_policy_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698