diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-24 15:31:21 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-24 15:31:21 +0000 |
commit | a644f1e204545af25d94225f7806a12a2b8f0b5d (patch) | |
tree | 36ad7037e0171ac0648d84e1ac551e70ab93e34f /extensions/browser/event_router_unittest.cc | |
parent | e35005d00a8cb7b6842bcb328c37cf033bf920a5 (diff) | |
download | chromium_src-a644f1e204545af25d94225f7806a12a2b8f0b5d.zip chromium_src-a644f1e204545af25d94225f7806a12a2b8f0b5d.tar.gz chromium_src-a644f1e204545af25d94225f7806a12a2b8f0b5d.tar.bz2 |
Remove the Value class names from the global namespace.
BUG=88666
TEST=no change
TBR=ben@chromium.org
Review URL: https://codereview.chromium.org/116543010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/event_router_unittest.cc')
-rw-r--r-- | extensions/browser/event_router_unittest.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/extensions/browser/event_router_unittest.cc b/extensions/browser/event_router_unittest.cc index ba5fed3..c47b7f2 100644 --- a/extensions/browser/event_router_unittest.cc +++ b/extensions/browser/event_router_unittest.cc @@ -69,7 +69,7 @@ TEST_F(EventRouterTest, GetBaseEventName) { TEST_F(EventRouterTest, EventRouterObserver) { EventRouter router(NULL, NULL); EventListener listener( - "event_name", "extension_id", NULL, scoped_ptr<DictionaryValue>()); + "event_name", "extension_id", NULL, scoped_ptr<base::DictionaryValue>()); // Add/remove works without any observers. router.OnListenerAdded(&listener); @@ -104,8 +104,10 @@ TEST_F(EventRouterTest, EventRouterObserver) { // Adding a listener with a sub-event notifies the main observer with // proper details. matching_observer.Reset(); - EventListener sub_event_listener( - "event_name/1", "extension_id", NULL, scoped_ptr<DictionaryValue>()); + EventListener sub_event_listener("event_name/1", + "extension_id", + NULL, + scoped_ptr<base::DictionaryValue>()); router.OnListenerAdded(&sub_event_listener); EXPECT_EQ(1, matching_observer.listener_added_count()); EXPECT_EQ(0, matching_observer.listener_removed_count()); |