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

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

Issue 7647026: base: Add three helper functions to Values API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix a typo Ceate -> Create Created 9 years, 4 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_provider_unittest.cc
diff --git a/chrome/browser/policy/cloud_policy_provider_unittest.cc b/chrome/browser/policy/cloud_policy_provider_unittest.cc
index f8f8768c1c2ab5a1abb3abd619ad3716d1dab31d..2a6d0002f69c3b9472110182e665b7618d471017 100644
--- a/chrome/browser/policy/cloud_policy_provider_unittest.cc
+++ b/chrome/browser/policy/cloud_policy_provider_unittest.cc
@@ -128,11 +128,11 @@ TEST_F(CloudPolicyProviderTest,
// Prepare |cache[0]| to serve some non-proxy policies.
caches[0].raw_mandatory_policy()->Set(kPolicyShowHomeButton,
- Value::CreateBooleanValue(true));
+ base::TrueValue());
caches[0].raw_mandatory_policy()->Set(kPolicyIncognitoEnabled,
- Value::CreateBooleanValue(true));
+ base::TrueValue());
caches[0].raw_mandatory_policy()->Set(kPolicyTranslateEnabled,
- Value::CreateBooleanValue(true));
+ base::TrueValue());
caches[0].set_initialized(true);
// Prepare the other caches to serve one proxy-policy each.
« no previous file with comments | « chrome/browser/media/media_internals_unittest.cc ('k') | chrome/browser/policy/config_dir_policy_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698