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

Unified Diff: chrome/browser/chromeos/net/network_state_notifier_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/net/network_state_notifier_unittest.cc
diff --git a/chrome/browser/chromeos/net/network_state_notifier_unittest.cc b/chrome/browser/chromeos/net/network_state_notifier_unittest.cc
index 82c03fac181f4662535b47fcbbafcd229adb9c3b..1419b2d42c3d26e2f2d1049b36dcdac4a5760666 100644
--- a/chrome/browser/chromeos/net/network_state_notifier_unittest.cc
+++ b/chrome/browser/chromeos/net/network_state_notifier_unittest.cc
@@ -66,7 +66,6 @@ class NetworkStateNotifierTest : public testing::Test {
LoginState::Initialize();
SetupDefaultShillState();
NetworkHandler::Initialize();
- message_center::MessageCenter::Initialize();
base::RunLoop().RunUntilIdle();
network_connect_delegate_.reset(new NetworkConnectTestDelegate);
NetworkConnect::Initialize(network_connect_delegate_.get());
@@ -75,7 +74,6 @@ class NetworkStateNotifierTest : public testing::Test {
void TearDown() override {
NetworkConnect::Shutdown();
network_connect_delegate_.reset();
- message_center::MessageCenter::Shutdown();
LoginState::Shutdown();
NetworkHandler::Shutdown();
DBusThreadManager::Shutdown();

Powered by Google App Engine
This is Rietveld 408576698