| 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 #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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chrome/browser/chromeos/cros/network_library.h" | 10 #include "chrome/browser/chromeos/cros/network_library.h" |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 MOCK_METHOD3(GetIPConfigs, NetworkIPConfigVector(const std::string&, | 182 MOCK_METHOD3(GetIPConfigs, NetworkIPConfigVector(const std::string&, |
| 183 std::string*, | 183 std::string*, |
| 184 HardwareAddressFormat)); | 184 HardwareAddressFormat)); |
| 185 MOCK_METHOD6(SetIPParameters, void(const std::string&, | 185 MOCK_METHOD6(SetIPParameters, void(const std::string&, |
| 186 const std::string&, | 186 const std::string&, |
| 187 const std::string&, | 187 const std::string&, |
| 188 const std::string&, | 188 const std::string&, |
| 189 const std::string&, | 189 const std::string&, |
| 190 int)); | 190 int)); |
| 191 MOCK_METHOD0(SwitchToPreferredNetwork, void(void)); | 191 MOCK_METHOD0(SwitchToPreferredNetwork, void(void)); |
| 192 MOCK_METHOD4(LoadOncNetworks, bool(const std::string&, | 192 MOCK_METHOD5(LoadOncNetworks, bool(const std::string&, |
| 193 const std::string&, | 193 const std::string&, |
| 194 NetworkUIData::ONCSource, | 194 NetworkUIData::ONCSource, |
| 195 bool, |
| 195 std::string*)); | 196 std::string*)); |
| 196 MOCK_METHOD2(SetActiveNetwork, bool(ConnectionType, const std::string&)); | 197 MOCK_METHOD2(SetActiveNetwork, bool(ConnectionType, const std::string&)); |
| 197 }; | 198 }; |
| 198 | 199 |
| 199 } // namespace chromeos | 200 } // namespace chromeos |
| 200 | 201 |
| 201 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ | 202 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ |
| OLD | NEW |