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

Unified Diff: chrome/browser/chromeos/cros/network_library_impl_cros.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/cros/network_library_impl_cros.cc
diff --git a/chrome/browser/chromeos/cros/network_library_impl_cros.cc b/chrome/browser/chromeos/cros/network_library_impl_cros.cc
index 8691af6e0398c1969b987b7dbb44b9e355cff0f6..f6a57d82bc3220fa8e2c2762da1e7a83944b0dad 100644
--- a/chrome/browser/chromeos/cros/network_library_impl_cros.cc
+++ b/chrome/browser/chromeos/cros/network_library_impl_cros.cc
@@ -1355,8 +1355,10 @@ void NetworkLibraryImplCros::SetIPParametersCallback(
return;
// Ensure NetworkStateHandler properties are up-to-date.
- if (NetworkStateHandler::IsInitialized())
- NetworkStateHandler::Get()->RequestUpdateForNetwork(service_path);
+ if (NetworkHandler::IsInitialized()) {
+ NetworkHandler::Get()->network_state_handler()->RequestUpdateForNetwork(
+ service_path);
+ }
// Attempt to refresh its IP parameters, so that the changes to the service
// properties can take effect.

Powered by Google App Engine
This is Rietveld 408576698