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

Unified Diff: extensions/common/url_pattern_set.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
« no previous file with comments | « extensions/common/permissions/socket_permission_data.cc ('k') | extensions/common/value_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/url_pattern_set.cc
diff --git a/extensions/common/url_pattern_set.cc b/extensions/common/url_pattern_set.cc
index 56860926fb455c5295d5b99f9cc61d5ab97241a3..28c8cf70a5f639862004ee7c10962502f1adbe2f 100644
--- a/extensions/common/url_pattern_set.cc
+++ b/extensions/common/url_pattern_set.cc
@@ -233,8 +233,7 @@ std::unique_ptr<base::ListValue> URLPatternSet::ToValue() const {
std::unique_ptr<base::ListValue> value(new base::ListValue);
for (URLPatternSet::const_iterator i = patterns_.begin();
i != patterns_.end(); ++i)
- value->AppendIfNotPresent(
- base::MakeUnique<base::StringValue>(i->GetAsString()));
+ value->AppendIfNotPresent(base::MakeUnique<base::Value>(i->GetAsString()));
return value;
}
« no previous file with comments | « extensions/common/permissions/socket_permission_data.cc ('k') | extensions/common/value_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698