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

Unified Diff: chrome/browser/chromeos/status/data_promo_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/chromeos/status/data_promo_notification_unittest.cc
diff --git a/chrome/browser/chromeos/status/data_promo_notification_unittest.cc b/chrome/browser/chromeos/status/data_promo_notification_unittest.cc
index 68f1a0807ba39a2ea3d1a7ec935f419a17780099..cabe8bdc14826d512d83d25986d93c29315c3242 100644
--- a/chrome/browser/chromeos/status/data_promo_notification_unittest.cc
+++ b/chrome/browser/chromeos/status/data_promo_notification_unittest.cc
@@ -70,7 +70,6 @@ class DataPromoNotificationTest : public testing::Test {
data_promo_notification_.reset(new DataPromoNotification);
SetupUser();
SetupNetworkShillState();
- message_center::MessageCenter::Initialize();
base::RunLoop().RunUntilIdle();
network_connect_delegate_.reset(new NetworkConnectTestDelegate);
chromeos::NetworkConnect::Initialize(network_connect_delegate_.get());
@@ -79,7 +78,6 @@ class DataPromoNotificationTest : public testing::Test {
void TearDown() override {
chromeos::NetworkConnect::Shutdown();
network_connect_delegate_.reset();
- message_center::MessageCenter::Shutdown();
LoginState::Shutdown();
profile_manager_.reset();
user_manager_enabler_.reset();

Powered by Google App Engine
This is Rietveld 408576698