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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc

Issue 2528013002: Initialize the message center as part of the testing browser process (Closed)
Patch Set: re-uploding due to time outs Created 4 years, 1 month 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: chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc
diff --git a/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc b/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc
index 7c71a2f0d5c237cf24e55c99cac8b00b04cc26eb..56a5a1f070f8ce10d534c70bfb48c71a8dbaf164 100644
--- a/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc
@@ -21,7 +21,6 @@
#include "chrome/test/base/testing_browser_process.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
-#include "ui/message_center/message_center.h"
#if defined(OS_WIN)
#include "components/metrics/metrics_pref_names.h"
@@ -186,7 +185,6 @@ TEST_F(BrowserListTest, MAYBE_AttemptRestart) {
testing_pref_service.registry()->RegisterDictionaryPref(
prefs::kProfileInfoCache);
- message_center::MessageCenter::Initialize();
TestingBrowserProcess* testing_browser_process =
TestingBrowserProcess::GetGlobal();
testing_browser_process->SetLocalState(&testing_pref_service);

Powered by Google App Engine
This is Rietveld 408576698