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

Unified Diff: extensions/browser/event_router_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: extensions/browser/event_router_unittest.cc
diff --git a/extensions/browser/event_router_unittest.cc b/extensions/browser/event_router_unittest.cc
index 53cb9daa2d993617c09142aae63fc7be8fba147f..f76c6c1576f5ada531154f2eac8f7877e14ac79d 100644
--- a/extensions/browser/event_router_unittest.cc
+++ b/extensions/browser/event_router_unittest.cc
@@ -31,7 +31,7 @@
using base::DictionaryValue;
using base::ListValue;
-using base::StringValue;
+using base::Value;
namespace extensions {
@@ -124,7 +124,7 @@ std::unique_ptr<DictionaryValue> CreateHostSuffixFilter(
std::unique_ptr<ListValue> filter_list(new ListValue());
std::unique_ptr<DictionaryValue> filter_dict(new DictionaryValue());
- filter_dict->Set("hostSuffix", base::MakeUnique<StringValue>(suffix));
+ filter_dict->Set("hostSuffix", base::MakeUnique<Value>(suffix));
filter_list->Append(std::move(filter_dict));
filter->Set("url", std::move(filter_list));
« no previous file with comments | « extensions/browser/event_listener_map_unittest.cc ('k') | extensions/browser/extension_pref_value_map_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698