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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 const StringCallback& callback, | 61 const StringCallback& callback, |
62 const ErrorCallback& error_callback)); | 62 const ErrorCallback& error_callback)); |
63 MOCK_METHOD8(VerifyAndEncryptData, void(const std::string& certificate, | 63 MOCK_METHOD8(VerifyAndEncryptData, void(const std::string& certificate, |
64 const std::string& public_key, | 64 const std::string& public_key, |
65 const std::string& nonce, | 65 const std::string& nonce, |
66 const std::string& signed_data, | 66 const std::string& signed_data, |
67 const std::string& device_serial, | 67 const std::string& device_serial, |
68 const std::string& data, | 68 const std::string& data, |
69 const StringCallback& callback, | 69 const StringCallback& callback, |
70 const ErrorCallback& error_callback)); | 70 const ErrorCallback& error_callback)); |
| 71 MOCK_METHOD2(ConnectToBestServices, |
| 72 void(const base::Closure& callback, |
| 73 const ErrorCallback& error_callback)); |
71 MOCK_METHOD0(GetTestInterface, TestInterface*()); | 74 MOCK_METHOD0(GetTestInterface, TestInterface*()); |
72 | 75 |
73 }; | 76 }; |
74 | 77 |
75 } // namespace chromeos | 78 } // namespace chromeos |
76 | 79 |
77 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ | 80 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ |
OLD | NEW |