Index: chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
diff --git a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
index 5d05eefb8ed61848a2fa485d0ef224f202c55615..4875d4489537d903f5c42c6530a94dc09e5e5c5b 100644 |
--- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
+++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc |
@@ -98,6 +98,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 "content/public/browser/browser_thread.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_service.h" |
@@ -227,7 +228,7 @@ void ShowNetworkSettingsPage(const std::string& service_path) { |
service_path); |
if (network) { |
std::string name(network->name()); |
- if (name.empty() && network->type() == flimflam::kTypeEthernet) |
+ if (name.empty() && network->Matches(NetworkTypePattern::Ethernet())) |
name = l10n_util::GetStringUTF8(IDS_STATUSBAR_NETWORK_DEVICE_ETHERNET); |
page += base::StringPrintf( |
"?servicePath=%s&networkType=%s&networkName=%s", |