diff options
Diffstat (limited to 'chrome_frame/test')
-rw-r--r-- | chrome_frame/test/net/fake_external_tab.cc | 5 | ||||
-rw-r--r-- | chrome_frame/test/net/fake_external_tab.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/chrome_frame/test/net/fake_external_tab.cc b/chrome_frame/test/net/fake_external_tab.cc index b27d666..626c549 100644 --- a/chrome_frame/test/net/fake_external_tab.cc +++ b/chrome_frame/test/net/fake_external_tab.cc @@ -231,6 +231,9 @@ FakeExternalTab::~FakeExternalTab() { void FakeExternalTab::Initialize() { DCHECK(g_browser_process == NULL); + + notificaton_service_.reset(new NotificationService); + base::SystemMonitor system_monitor; icu_util::Initialize(); @@ -560,8 +563,6 @@ int main(int argc, char** argv) { google_breakpad::scoped_ptr<google_breakpad::ExceptionHandler> breakpad( InitializeCrashReporting(HEADLESS)); - NotificationService service; - // TODO(tommi): Stuff be broke. Needs a fixin'. // This is awkward: the TestSuite derived CFUrlRequestUnittestRunner contains // the instance of the AtExitManager that RegisterPathProvider() and others diff --git a/chrome_frame/test/net/fake_external_tab.h b/chrome_frame/test/net/fake_external_tab.h index 25eb842..f93783a 100644 --- a/chrome_frame/test/net/fake_external_tab.h +++ b/chrome_frame/test/net/fake_external_tab.h @@ -21,6 +21,7 @@ #include "net/base/net_test_suite.h" class ProcessSingleton; +class NotificationService; class FakeExternalTab { public: @@ -44,6 +45,7 @@ class FakeExternalTab { FilePath overridden_user_dir_; FilePath user_data_dir_; scoped_ptr<ProcessSingleton> process_singleton_; + scoped_ptr<NotificationService> notificaton_service_; }; // The "master class" that spins the UI and test threads. |