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

Unified Diff: chrome/browser/chromeos/cros/network_library.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: Rebase + elim LoginState dependency 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/cros/network_library.cc
diff --git a/chrome/browser/chromeos/cros/network_library.cc b/chrome/browser/chromeos/cros/network_library.cc
index c453eb7eea8cae5a8184c8546f9859b0746e2725..4747bcc45933a2f025ac00e585b0d9270be3470e 100644
--- a/chrome/browser/chromeos/cros/network_library.cc
+++ b/chrome/browser/chromeos/cros/network_library.cc
@@ -450,8 +450,8 @@ void Network::AttemptConnection(const base::Closure& closure) {
void Network::set_connecting() {
state_ = STATE_CONNECT_REQUESTED;
// Set the connecting network in NetworkStateHandler for the status area UI.
- if (NetworkStateHandler::IsInitialized())
- NetworkStateHandler::Get()->SetConnectingNetwork(service_path());
+ NetworkHandler::Get()->network_state_handler()->
+ SetConnectingNetwork(service_path());
}
void Network::SetProfilePath(const std::string& profile_path) {

Powered by Google App Engine
This is Rietveld 408576698