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_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ |
6 #define CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 const StringCallback& callback, | 70 const StringCallback& callback, |
71 const ErrorCallback& error_callback) OVERRIDE; | 71 const ErrorCallback& error_callback) OVERRIDE; |
72 virtual void VerifyAndEncryptData( | 72 virtual void VerifyAndEncryptData( |
73 const VerificationProperties& properties, | 73 const VerificationProperties& properties, |
74 const std::string& data, | 74 const std::string& data, |
75 const StringCallback& callback, | 75 const StringCallback& callback, |
76 const ErrorCallback& error_callback) OVERRIDE; | 76 const ErrorCallback& error_callback) OVERRIDE; |
77 virtual void ConnectToBestServices( | 77 virtual void ConnectToBestServices( |
78 const base::Closure& callback, | 78 const base::Closure& callback, |
79 const ErrorCallback& error_callback) OVERRIDE; | 79 const ErrorCallback& error_callback) OVERRIDE; |
| 80 virtual void AddWakeOnPacketConnection( |
| 81 const std::string& ip_connection, |
| 82 const base::Closure& callback, |
| 83 const ErrorCallback& error_callback) OVERRIDE; |
| 84 virtual void RemoveWakeOnPacketConnection( |
| 85 const std::string& ip_connection, |
| 86 const base::Closure& callback, |
| 87 const ErrorCallback& error_callback) OVERRIDE; |
| 88 virtual void RemoveAllWakeOnPacketConnections( |
| 89 const base::Closure& callback, |
| 90 const ErrorCallback& error_callback) OVERRIDE; |
| 91 |
80 virtual ShillManagerClient::TestInterface* GetTestInterface() OVERRIDE; | 92 virtual ShillManagerClient::TestInterface* GetTestInterface() OVERRIDE; |
81 | 93 |
82 // ShillManagerClient::TestInterface overrides. | 94 // ShillManagerClient::TestInterface overrides. |
83 virtual void AddDevice(const std::string& device_path) OVERRIDE; | 95 virtual void AddDevice(const std::string& device_path) OVERRIDE; |
84 virtual void RemoveDevice(const std::string& device_path) OVERRIDE; | 96 virtual void RemoveDevice(const std::string& device_path) OVERRIDE; |
85 virtual void ClearDevices() OVERRIDE; | 97 virtual void ClearDevices() OVERRIDE; |
86 virtual void AddTechnology(const std::string& type, bool enabled) OVERRIDE; | 98 virtual void AddTechnology(const std::string& type, bool enabled) OVERRIDE; |
87 virtual void RemoveTechnology(const std::string& type) OVERRIDE; | 99 virtual void RemoveTechnology(const std::string& type) OVERRIDE; |
88 virtual void SetTechnologyInitializing(const std::string& type, | 100 virtual void SetTechnologyInitializing(const std::string& type, |
89 bool initializing) OVERRIDE; | 101 bool initializing) OVERRIDE; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 169 |
158 // 'Best' service to connect to on ConnectToBestServices() calls. | 170 // 'Best' service to connect to on ConnectToBestServices() calls. |
159 std::string best_service_; | 171 std::string best_service_; |
160 | 172 |
161 DISALLOW_COPY_AND_ASSIGN(FakeShillManagerClient); | 173 DISALLOW_COPY_AND_ASSIGN(FakeShillManagerClient); |
162 }; | 174 }; |
163 | 175 |
164 } // namespace chromeos | 176 } // namespace chromeos |
165 | 177 |
166 #endif // CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ | 178 #endif // CHROMEOS_DBUS_FAKE_SHILL_MANAGER_CLIENT_H_ |
OLD | NEW |