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

Unified Diff: components/policy/core/common/preg_parser_unittest.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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: components/policy/core/common/preg_parser_unittest.cc
diff --git a/components/policy/core/common/preg_parser_unittest.cc b/components/policy/core/common/preg_parser_unittest.cc
index e29c9c4b530b4136db9b5763e114b583e2d4614b..757ac70e62ef13b65ba266688a3042098cb3651f 100644
--- a/components/policy/core/common/preg_parser_unittest.cc
+++ b/components/policy/core/common/preg_parser_unittest.cc
@@ -66,8 +66,7 @@ void SetInteger(RegistryDict* dict,
void SetString(RegistryDict* dict,
const std::string& name,
const std::string& value) {
- dict->SetValue(name,
- base::WrapUnique<base::Value>(new base::StringValue(value)));
+ dict->SetValue(name, base::WrapUnique<base::Value>(new base::Value(value)));
}
TEST(PRegParserTest, TestParseFile) {
« no previous file with comments | « components/policy/core/common/preg_parser.cc ('k') | components/policy/core/common/proxy_policy_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698