Move tests from Chrome's unit_tests to extensions_unittests

Part of extensions module componentization.

* Add a NotificationService for EventRouterTest
* Move the test data for ValueStoreFrontendTest
* The rest can move unchanged

BUG=397164
TEST=unit_tests, extensions_unittests

Review URL: https://codereview.chromium.org/435703002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287159 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/extensions/browser/event_router_unittest.cc b/extensions/browser/event_router_unittest.cc
index aa068ced..b0638807 100644
--- a/extensions/browser/event_router_unittest.cc
+++ b/extensions/browser/event_router_unittest.cc
@@ -10,6 +10,7 @@
 #include "base/compiler_specific.h"
 #include "base/memory/scoped_ptr.h"
 #include "base/values.h"
+#include "content/public/browser/notification_service.h"
 #include "extensions/browser/event_listener_map.h"
 #include "testing/gtest/include/gtest/gtest.h"
 
@@ -81,9 +82,18 @@
 }  // namespace
 
 class EventRouterTest : public testing::Test {
+ public:
+  EventRouterTest()
+      : notification_service_(content::NotificationService::Create()) {}
+
  protected:
   // Tests adding and removing observers from EventRouter.
   void RunEventRouterObserverTest(const EventListenerConstructor& constructor);
+
+ private:
+  scoped_ptr<content::NotificationService> notification_service_;
+
+  DISALLOW_COPY_AND_ASSIGN(EventRouterTest);
 };
 
 TEST_F(EventRouterTest, GetBaseEventName) {