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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 const std::string& ip_or_mac_address, | 87 const std::string& ip_or_mac_address, |
88 bool enabled, | 88 bool enabled, |
89 const network_handler::StringResultCallback& callback, | 89 const network_handler::StringResultCallback& callback, |
90 const network_handler::ErrorCallback& error_callback) override; | 90 const network_handler::ErrorCallback& error_callback) override; |
91 | 91 |
92 virtual void GetWifiTDLSStatus( | 92 virtual void GetWifiTDLSStatus( |
93 const std::string& ip_or_mac_address, | 93 const std::string& ip_or_mac_address, |
94 const network_handler::StringResultCallback& callback, | 94 const network_handler::StringResultCallback& callback, |
95 const network_handler::ErrorCallback& error_callback) override; | 95 const network_handler::ErrorCallback& error_callback) override; |
96 | 96 |
| 97 void AddWifiWakeOnPacketConnection( |
| 98 const net::IPEndPoint& ip_endpoint, |
| 99 const base::Closure& callback, |
| 100 const network_handler::ErrorCallback& error_callback) override; |
| 101 |
| 102 void RemoveWifiWakeOnPacketConnection( |
| 103 const net::IPEndPoint& ip_endpoint, |
| 104 const base::Closure& callback, |
| 105 const network_handler::ErrorCallback& error_callback) override; |
| 106 |
| 107 void RemoveAllWifiWakeOnPacketConnections( |
| 108 const base::Closure& callback, |
| 109 const network_handler::ErrorCallback& error_callback) override; |
| 110 |
97 private: | 111 private: |
98 DISALLOW_COPY_AND_ASSIGN(FakeNetworkDeviceHandler); | 112 DISALLOW_COPY_AND_ASSIGN(FakeNetworkDeviceHandler); |
99 }; | 113 }; |
100 | 114 |
101 } // namespace chromeos | 115 } // namespace chromeos |
102 | 116 |
103 #endif // CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ | 117 #endif // CHROMEOS_NETWORK_FAKE_NETWORK_DEVICE_HANDLER_H_ |
OLD | NEW |