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_FAKE_NETWORK_DEVICE_HANDLER_H_ | 5 #ifndef CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ |
6 #define CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ | 6 #define CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "chromeos/chromeos_export.h" | 10 #include "chromeos/chromeos_export.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 virtual void ChangePin(const std::string& device_path, | 77 virtual void ChangePin(const std::string& device_path, |
78 const std::string& old_pin, | 78 const std::string& old_pin, |
79 const std::string& new_pin, | 79 const std::string& new_pin, |
80 const base::Closure& callback, | 80 const base::Closure& callback, |
81 const network_handler::ErrorCallback& error_callback) | 81 const network_handler::ErrorCallback& error_callback) |
82 OVERRIDE; | 82 OVERRIDE; |
83 | 83 |
84 virtual void SetCellularAllowRoaming(bool allow_roaming) OVERRIDE; | 84 virtual void SetCellularAllowRoaming(bool allow_roaming) OVERRIDE; |
85 | 85 |
| 86 virtual void SetWifiTDLSEnabled( |
| 87 const std::string& ip_or_mac_address, |
| 88 bool enabled, |
| 89 const network_handler::StringResultCallback& callback, |
| 90 const network_handler::ErrorCallback& error_callback) OVERRIDE; |
| 91 |
| 92 virtual void GetWifiTDLSStatus( |
| 93 const std::string& ip_or_mac_address, |
| 94 const network_handler::StringResultCallback& callback, |
| 95 const network_handler::ErrorCallback& error_callback) OVERRIDE; |
| 96 |
86 private: | 97 private: |
87 DISALLOW_COPY_AND_ASSIGN(FakeNetworkDeviceHandler); | 98 DISALLOW_COPY_AND_ASSIGN(FakeNetworkDeviceHandler); |
88 }; | 99 }; |
89 | 100 |
90 } // namespace chromeos | 101 } // namespace chromeos |
91 | 102 |
92 #endif // CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ | 103 #endif // CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ |
OLD | NEW |