| 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 5f6969ec6084efa6663129186cd69a713ed6be6b..04744e3d3c139ec2924054bd7093d873edfbd894 100644
|
| --- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
|
| +++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc
|
| @@ -99,6 +99,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"
|
| @@ -228,7 +229,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",
|
|
|