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

Unified Diff: chrome/browser/chromeos/net/connectivity_state_helper.cc

Issue 14729017: Add NetworkHandler to own network handlers in src/chromeos/network (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chromeos_unittests Created 7 years, 7 months 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/connectivity_state_helper.cc
diff --git a/chrome/browser/chromeos/net/connectivity_state_helper.cc b/chrome/browser/chromeos/net/connectivity_state_helper.cc
index e7085ef9d454fceebccd2ed53c535db769cf983b..42549bebfbd9a1344819e4b66318f49133b74893 100644
--- a/chrome/browser/chromeos/net/connectivity_state_helper.cc
+++ b/chrome/browser/chromeos/net/connectivity_state_helper.cc
@@ -128,12 +128,12 @@ void ConnectivityStateHelper::RemoveNetworkManagerObserver(
}
ConnectivityStateHelperImpl::ConnectivityStateHelperImpl() {
- network_state_handler_ = NetworkStateHandler::Get();
+ network_state_handler_ = NetworkHandler::Get()->network_state_handler();
network_state_handler_->AddObserver(this);
}
ConnectivityStateHelperImpl::~ConnectivityStateHelperImpl() {
- NetworkStateHandler::Get()->RemoveObserver(this);
+ network_state_handler_->RemoveObserver(this);
}
bool ConnectivityStateHelperImpl::IsConnected() {
« no previous file with comments | « chrome/browser/chromeos/imageburner/burn_manager.cc ('k') | chrome/browser/chromeos/net/network_portal_detector_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698