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 CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ |
6 #define CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "chromeos/dbus/shill_manager_client.h" | 9 #include "chromeos/dbus/shill_manager_client.h" |
10 #include "chromeos/dbus/shill_property_changed_observer.h" | 10 #include "chromeos/dbus/shill_property_changed_observer.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
59 const StringCallback& callback, | 59 const StringCallback& callback, |
60 const ErrorCallback& error_callback)); | 60 const ErrorCallback& error_callback)); |
61 MOCK_METHOD4(VerifyAndEncryptData, | 61 MOCK_METHOD4(VerifyAndEncryptData, |
62 void(const VerificationProperties& properties, | 62 void(const VerificationProperties& properties, |
63 const std::string& data, | 63 const std::string& data, |
64 const StringCallback& callback, | 64 const StringCallback& callback, |
65 const ErrorCallback& error_callback)); | 65 const ErrorCallback& error_callback)); |
66 MOCK_METHOD2(ConnectToBestServices, | 66 MOCK_METHOD2(ConnectToBestServices, |
67 void(const base::Closure& callback, | 67 void(const base::Closure& callback, |
68 const ErrorCallback& error_callback)); | 68 const ErrorCallback& error_callback)); |
69 MOCK_METHOD3(AddWakeOnPacketConnection, | |
70 void(const std::string& ip_connection, | |
Daniel Erat
2014/08/23 14:44:52
please double-check that chromeos_unittests compil
Luigi Semenzato
2014/08/25 19:59:34
Done.
| |
71 const base::Closure& callback, | |
72 const ErrorCallback& error_callback)); | |
73 MOCK_METHOD3(RemoveWakeOnPacketConnection, | |
74 void(const std::string& ip_connection, | |
75 const base::Closure& callback, | |
76 const ErrorCallback& error_callback)); | |
77 MOCK_METHOD3(RemoveAllWakeOnPacketConnections, | |
78 void(const base::Closure& callback, | |
79 const ErrorCallback& error_callback)); | |
69 MOCK_METHOD0(GetTestInterface, TestInterface*()); | 80 MOCK_METHOD0(GetTestInterface, TestInterface*()); |
70 | 81 |
71 }; | 82 }; |
72 | 83 |
73 } // namespace chromeos | 84 } // namespace chromeos |
74 | 85 |
75 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ | 86 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ |
OLD | NEW |