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

Unified Diff: extensions/browser/event_listener_map_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_listener_map_unittest.cc
diff --git a/extensions/browser/event_listener_map_unittest.cc b/extensions/browser/event_listener_map_unittest.cc
index b308f18ba4579042f275e960ea1d78b5ea60b735..67de0d85cbec769a3d0c7b06beb9afd89818fd5c 100644
--- a/extensions/browser/event_listener_map_unittest.cc
+++ b/extensions/browser/event_listener_map_unittest.cc
@@ -16,7 +16,7 @@
using base::DictionaryValue;
using base::ListValue;
-using base::StringValue;
+using base::Value;
namespace extensions {
@@ -54,7 +54,7 @@ class EventListenerMapTest : public testing::Test {
std::unique_ptr<ListValue> filter_list(new ListValue);
std::unique_ptr<DictionaryValue> filter_dict(new DictionaryValue);
- filter_dict->Set("hostSuffix", new StringValue(suffix));
+ filter_dict->Set("hostSuffix", new Value(suffix));
filter_list->Append(std::move(filter_dict));
filter->Set("url", filter_list.release());
« no previous file with comments | « extensions/browser/api/webcam_private/webcam_private_api_chromeos.cc ('k') | extensions/browser/event_router_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698