| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chromeos/network/network_util.h" | 5 #include "chromeos/network/network_util.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 : signal_strength(0), | 29 : signal_strength(0), |
| 30 signal_to_noise(0), | 30 signal_to_noise(0), |
| 31 channel(0) { | 31 channel(0) { |
| 32 } | 32 } |
| 33 | 33 |
| 34 WifiAccessPoint::WifiAccessPoint(const WifiAccessPoint& other) = default; | 34 WifiAccessPoint::WifiAccessPoint(const WifiAccessPoint& other) = default; |
| 35 | 35 |
| 36 WifiAccessPoint::~WifiAccessPoint() { | 36 WifiAccessPoint::~WifiAccessPoint() { |
| 37 } | 37 } |
| 38 | 38 |
| 39 CellTower::CellTower() {} |
| 40 |
| 41 CellTower::CellTower(const CellTower& other) = default; |
| 42 |
| 43 CellTower::~CellTower() {} |
| 44 |
| 39 CellularScanResult::CellularScanResult() { | 45 CellularScanResult::CellularScanResult() { |
| 40 } | 46 } |
| 41 | 47 |
| 42 CellularScanResult::CellularScanResult(const CellularScanResult& other) = | 48 CellularScanResult::CellularScanResult(const CellularScanResult& other) = |
| 43 default; | 49 default; |
| 44 | 50 |
| 45 CellularScanResult::~CellularScanResult() { | 51 CellularScanResult::~CellularScanResult() { |
| 46 } | 52 } |
| 47 | 53 |
| 48 namespace network_util { | 54 namespace network_util { |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 std::string TranslateShillTypeToONC(const std::string& shill_type) { | 228 std::string TranslateShillTypeToONC(const std::string& shill_type) { |
| 223 if (shill_type == shill::kTypeEthernet) | 229 if (shill_type == shill::kTypeEthernet) |
| 224 return ::onc::network_type::kEthernet; | 230 return ::onc::network_type::kEthernet; |
| 225 std::string onc_type; | 231 std::string onc_type; |
| 226 onc::TranslateStringToONC(onc::kNetworkTypeTable, shill_type, &onc_type); | 232 onc::TranslateStringToONC(onc::kNetworkTypeTable, shill_type, &onc_type); |
| 227 return onc_type; | 233 return onc_type; |
| 228 } | 234 } |
| 229 | 235 |
| 230 } // namespace network_util | 236 } // namespace network_util |
| 231 } // namespace chromeos | 237 } // namespace chromeos |
| OLD | NEW |