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

Unified Diff: ash/system/chromeos/network/network_state_notifier.cc

Issue 23551004: Move Shill property utility functions to a new separate file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chrome/ compilation. Created 7 years, 4 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
« no previous file with comments | « no previous file | chromeos/chromeos.gyp » ('j') | chromeos/network/network_connection_handler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/network/network_state_notifier.cc
diff --git a/ash/system/chromeos/network/network_state_notifier.cc b/ash/system/chromeos/network/network_state_notifier.cc
index 1baa151b4b16275a68a965b937172e7cfe904489..cb42260a8795aaf9cffea8889f1826a9fdcddeb9 100644
--- a/ash/system/chromeos/network/network_state_notifier.cc
+++ b/ash/system/chromeos/network/network_state_notifier.cc
@@ -16,6 +16,7 @@
#include "chromeos/network/network_event_log.h"
#include "chromeos/network/network_state.h"
#include "chromeos/network/network_state_handler.h"
+#include "chromeos/network/shill_property_util.h"
#include "grit/ash_resources.h"
#include "grit/ash_strings.h"
#include "third_party/cros_system_api/dbus/service_constants.h"
@@ -243,7 +244,8 @@ void NetworkStateNotifier::ShowConnectErrorNotification(
service_path);
std::string network_name =
- NetworkState::GetNameFromProperties(service_path, shill_properties);
+ chromeos::shill_property_util::GetNameFromProperties(service_path,
+ shill_properties);
std::string network_error_details;
shill_properties.GetStringWithoutPathExpansion(
shill::kErrorDetailsProperty, &network_error_details);
« no previous file with comments | « no previous file | chromeos/chromeos.gyp » ('j') | chromeos/network/network_connection_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698