| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROMEOS_NETWORK_MOCK_NETWORK_DEVICE_HANDLER_H_ | 5 #ifndef CHROMEOS_NETWORK_MOCK_NETWORK_DEVICE_HANDLER_H_ |
| 6 #define CHROMEOS_NETWORK_MOCK_NETWORK_DEVICE_HANDLER_H_ | 6 #define CHROMEOS_NETWORK_MOCK_NETWORK_DEVICE_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 MOCK_METHOD5(ChangePin, | 81 MOCK_METHOD5(ChangePin, |
| 82 void(const std::string& device_path, | 82 void(const std::string& device_path, |
| 83 const std::string& old_pin, | 83 const std::string& old_pin, |
| 84 const std::string& new_pin, | 84 const std::string& new_pin, |
| 85 const base::Closure& callback, | 85 const base::Closure& callback, |
| 86 const network_handler::ErrorCallback& error_callback)); | 86 const network_handler::ErrorCallback& error_callback)); |
| 87 | 87 |
| 88 MOCK_METHOD1(SetCellularAllowRoaming, void(bool allow_roaming)); | 88 MOCK_METHOD1(SetCellularAllowRoaming, void(bool allow_roaming)); |
| 89 | 89 |
| 90 MOCK_METHOD1(SetMACAddressRandomizationEnabled, void(bool enabled)); | |
| 91 | |
| 92 MOCK_METHOD4(SetWifiTDLSEnabled, | 90 MOCK_METHOD4(SetWifiTDLSEnabled, |
| 93 void(const std::string& ip_or_mac_address, | 91 void(const std::string& ip_or_mac_address, |
| 94 bool enabled, | 92 bool enabled, |
| 95 const network_handler::StringResultCallback& callback, | 93 const network_handler::StringResultCallback& callback, |
| 96 const network_handler::ErrorCallback& error_callback)); | 94 const network_handler::ErrorCallback& error_callback)); |
| 97 | 95 |
| 98 MOCK_METHOD3(GetWifiTDLSStatus, | 96 MOCK_METHOD3(GetWifiTDLSStatus, |
| 99 void(const std::string& ip_or_mac_address, | 97 void(const std::string& ip_or_mac_address, |
| 100 const network_handler::StringResultCallback& callback, | 98 const network_handler::StringResultCallback& callback, |
| 101 const network_handler::ErrorCallback& error_callback)); | 99 const network_handler::ErrorCallback& error_callback)); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 114 void(const base::Closure& callback, | 112 void(const base::Closure& callback, |
| 115 const network_handler::ErrorCallback& error_callback)); | 113 const network_handler::ErrorCallback& error_callback)); |
| 116 | 114 |
| 117 private: | 115 private: |
| 118 DISALLOW_COPY_AND_ASSIGN(MockNetworkDeviceHandler); | 116 DISALLOW_COPY_AND_ASSIGN(MockNetworkDeviceHandler); |
| 119 }; | 117 }; |
| 120 | 118 |
| 121 } // namespace chromeos | 119 } // namespace chromeos |
| 122 | 120 |
| 123 #endif // CHROMEOS_NETWORK_MOCK_NETWORK_DEVICE_HANDLER_H_ | 121 #endif // CHROMEOS_NETWORK_MOCK_NETWORK_DEVICE_HANDLER_H_ |
| OLD | NEW |