summaryrefslogtreecommitdiffstats
path: root/extensions/browser/event_router_unittest.cc
diff options
context:
space:
mode:
authorlimasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-04 18:53:12 +0000
committerlimasdf@gmail.com <limasdf@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-04 18:53:12 +0000
commit4243f9a4e7bd733c775444b15a117717a05516a8 (patch)
tree30e70130cc35232cb5e79afebc5891efe17c4897 /extensions/browser/event_router_unittest.cc
parent61ff6ae4a377fd69955f524db79a4112dc5b3732 (diff)
downloadchromium_src-4243f9a4e7bd733c775444b15a117717a05516a8.zip
chromium_src-4243f9a4e7bd733c775444b15a117717a05516a8.tar.gz
chromium_src-4243f9a4e7bd733c775444b15a117717a05516a8.tar.bz2
Use ExtensionRegistry instead of deprecated extension's notification in EventRouter.
And Make EventRouterTest inherit ExtensionsTest to setup for test. R=kalman@chromium.org BUG=354046 TEST=unittest Review URL: https://codereview.chromium.org/430243002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287383 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/event_router_unittest.cc')
-rw-r--r--extensions/browser/event_router_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/browser/event_router_unittest.cc b/extensions/browser/event_router_unittest.cc
index b063880..3789aec 100644
--- a/extensions/browser/event_router_unittest.cc
+++ b/extensions/browser/event_router_unittest.cc
@@ -12,6 +12,7 @@
#include "base/values.h"
#include "content/public/browser/notification_service.h"
#include "extensions/browser/event_listener_map.h"
+#include "extensions/browser/extensions_test.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
@@ -81,7 +82,7 @@ scoped_ptr<EventListener> CreateEventListenerForURL(
} // namespace
-class EventRouterTest : public testing::Test {
+class EventRouterTest : public ExtensionsTest {
public:
EventRouterTest()
: notification_service_(content::NotificationService::Create()) {}