| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 MOCK_METHOD2(ChangePin, void(const std::string&, const std::string&)); | 103 MOCK_METHOD2(ChangePin, void(const std::string&, const std::string&)); |
| 104 MOCK_METHOD2(ChangeRequirePin, void(bool, const std::string&)); | 104 MOCK_METHOD2(ChangeRequirePin, void(bool, const std::string&)); |
| 105 MOCK_METHOD1(EnterPin, void(const std::string&)); | 105 MOCK_METHOD1(EnterPin, void(const std::string&)); |
| 106 MOCK_METHOD2(UnblockPin, void(const std::string&, const std::string&)); | 106 MOCK_METHOD2(UnblockPin, void(const std::string&, const std::string&)); |
| 107 | 107 |
| 108 MOCK_METHOD0(RequestCellularScan, void()); | 108 MOCK_METHOD0(RequestCellularScan, void()); |
| 109 MOCK_METHOD1(RequestCellularRegister, void(const std::string&)); | 109 MOCK_METHOD1(RequestCellularRegister, void(const std::string&)); |
| 110 MOCK_METHOD1(SetCellularDataRoamingAllowed, void(bool)); | 110 MOCK_METHOD1(SetCellularDataRoamingAllowed, void(bool)); |
| 111 MOCK_METHOD2(SetCarrier, void(const std::string&, | 111 MOCK_METHOD2(SetCarrier, void(const std::string&, |
| 112 const NetworkOperationCallback&)); | 112 const NetworkOperationCallback&)); |
| 113 MOCK_METHOD0(ResetModem, void()); |
| 113 MOCK_METHOD0(IsCellularAlwaysInRoaming, bool()); | 114 MOCK_METHOD0(IsCellularAlwaysInRoaming, bool()); |
| 114 | 115 |
| 115 MOCK_METHOD0(RequestNetworkScan, void(void)); | 116 MOCK_METHOD0(RequestNetworkScan, void(void)); |
| 116 MOCK_CONST_METHOD1(HasProfileType, bool(NetworkProfileType)); | 117 MOCK_CONST_METHOD1(HasProfileType, bool(NetworkProfileType)); |
| 117 MOCK_CONST_METHOD1(CanConnectToNetwork, bool(const Network*)); | 118 MOCK_CONST_METHOD1(CanConnectToNetwork, bool(const Network*)); |
| 118 MOCK_METHOD1(RefreshIPConfig, void(Network*)); | 119 MOCK_METHOD1(RefreshIPConfig, void(Network*)); |
| 119 MOCK_METHOD1(ConnectToWifiNetwork, void(WifiNetwork*)); | 120 MOCK_METHOD1(ConnectToWifiNetwork, void(WifiNetwork*)); |
| 120 MOCK_METHOD2(ConnectToWifiNetwork, void(WifiNetwork*, bool)); | 121 MOCK_METHOD2(ConnectToWifiNetwork, void(WifiNetwork*, bool)); |
| 121 MOCK_METHOD1(ConnectToWimaxNetwork, void(WimaxNetwork*)); | 122 MOCK_METHOD1(ConnectToWimaxNetwork, void(WimaxNetwork*)); |
| 122 MOCK_METHOD2(ConnectToWimaxNetwork, void(WimaxNetwork*, bool)); | 123 MOCK_METHOD2(ConnectToWimaxNetwork, void(WimaxNetwork*, bool)); |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 MOCK_METHOD0(StartActivation, bool(void)); | 207 MOCK_METHOD0(StartActivation, bool(void)); |
| 207 | 208 |
| 208 private: | 209 private: |
| 209 DISALLOW_COPY_AND_ASSIGN(MockCellularNetwork); | 210 DISALLOW_COPY_AND_ASSIGN(MockCellularNetwork); |
| 210 }; | 211 }; |
| 211 | 212 |
| 212 | 213 |
| 213 } // namespace chromeos | 214 } // namespace chromeos |
| 214 | 215 |
| 215 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ | 216 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_NETWORK_LIBRARY_H_ |
| OLD | NEW |