| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 148 |
| 149 MOCK_METHOD1(EnableEthernetNetworkDevice, void(bool)); | 149 MOCK_METHOD1(EnableEthernetNetworkDevice, void(bool)); |
| 150 MOCK_METHOD1(EnableWifiNetworkDevice, void(bool)); | 150 MOCK_METHOD1(EnableWifiNetworkDevice, void(bool)); |
| 151 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool)); | 151 MOCK_METHOD1(EnableCellularNetworkDevice, void(bool)); |
| 152 MOCK_METHOD1(EnableOfflineMode, void(bool)); | 152 MOCK_METHOD1(EnableOfflineMode, void(bool)); |
| 153 MOCK_METHOD3(GetIPConfigs, NetworkIPConfigVector(const std::string&, | 153 MOCK_METHOD3(GetIPConfigs, NetworkIPConfigVector(const std::string&, |
| 154 std::string*, | 154 std::string*, |
| 155 HardwareAddressFormat)); | 155 HardwareAddressFormat)); |
| 156 MOCK_METHOD1(SetIPConfig, void(const NetworkIPConfig&)); | 156 MOCK_METHOD1(SetIPConfig, void(const NetworkIPConfig&)); |
| 157 MOCK_METHOD0(SwitchToPreferredNetwork, void(void)); | 157 MOCK_METHOD0(SwitchToPreferredNetwork, void(void)); |
| 158 MOCK_METHOD3(LoadOncNetworks, bool(const std::string&, | 158 MOCK_METHOD2(LoadOncNetworks, bool(const std::string&, const std::string&)); |
| 159 const std::string&, | |
| 160 std::string*)); | |
| 161 MOCK_METHOD2(SetActiveNetwork, bool(ConnectionType, const std::string&)); | 159 MOCK_METHOD2(SetActiveNetwork, bool(ConnectionType, const std::string&)); |
| 162 }; | 160 }; |
| 163 | 161 |
| 164 } // namespace chromeos | 162 } // namespace chromeos |
| 165 | 163 |
| 166 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ | 164 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ |
| OLD | NEW |