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

Unified Diff: chrome/browser/download/notification/download_item_notification_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/download/notification/download_item_notification_unittest.cc
diff --git a/chrome/browser/download/notification/download_item_notification_unittest.cc b/chrome/browser/download/notification/download_item_notification_unittest.cc
index c95b8455b93f0ec60bab4a0897e0addea2f99535..0cb4977b3e8e27c8ef22e376082d66d2e4018a90 100644
--- a/chrome/browser/download/notification/download_item_notification_unittest.cc
+++ b/chrome/browser/download/notification/download_item_notification_unittest.cc
@@ -67,7 +67,6 @@ class DownloadItemNotificationTest : public testing::Test {
void SetUp() override {
testing::Test::SetUp();
- message_center::MessageCenter::Initialize();
profile_manager_.reset(
new TestingProfileManager(TestingBrowserProcess::GetGlobal()));
@@ -109,7 +108,6 @@ class DownloadItemNotificationTest : public testing::Test {
download_item_notification_ = nullptr; // will be free'd in the manager.
download_notification_manager_.reset();
profile_manager_.reset();
- message_center::MessageCenter::Shutdown();
testing::Test::TearDown();
}

Powered by Google App Engine
This is Rietveld 408576698