diff options
Diffstat (limited to 'connection_manager.cc')
-rw-r--r-- | connection_manager.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/connection_manager.cc b/connection_manager.cc index 62bb11e1..45b64675 100644 --- a/connection_manager.cc +++ b/connection_manager.cc @@ -253,8 +253,9 @@ bool ConnectionManager::IsUpdateAllowedOver(NetworkConnectionType type, } } +// static const char* ConnectionManager::StringForConnectionType( - NetworkConnectionType type) const { + NetworkConnectionType type) { switch (type) { case NetworkConnectionType::kEthernet: return shill::kTypeEthernet; @@ -272,8 +273,8 @@ const char* ConnectionManager::StringForConnectionType( return "Unknown"; } -const char* ConnectionManager::StringForTethering( - NetworkTethering tethering) const { +// static +const char* ConnectionManager::StringForTethering(NetworkTethering tethering) { switch (tethering) { case NetworkTethering::kNotDetected: return shill::kTetheringNotDetectedState; |