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_FLIMFLAM_DEVICE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_FLIMFLAM_DEVICE_CLIENT_H_ |
6 #define CHROMEOS_DBUS_MOCK_FLIMFLAM_DEVICE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_FLIMFLAM_DEVICE_CLIENT_H_ |
7 | 7 |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "chromeos/dbus/flimflam_device_client.h" | 9 #include "chromeos/dbus/flimflam_device_client.h" |
10 #include "dbus/object_path.h" | 10 #include "dbus/object_path.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 const VoidCallback& callback)); | 34 const VoidCallback& callback)); |
35 MOCK_METHOD3(ClearProperty, void(const dbus::ObjectPath& device_path, | 35 MOCK_METHOD3(ClearProperty, void(const dbus::ObjectPath& device_path, |
36 const std::string& name, | 36 const std::string& name, |
37 const VoidCallback& callback)); | 37 const VoidCallback& callback)); |
38 MOCK_METHOD3(AddIPConfig, void(const dbus::ObjectPath& device_path, | 38 MOCK_METHOD3(AddIPConfig, void(const dbus::ObjectPath& device_path, |
39 const std::string& method, | 39 const std::string& method, |
40 const ObjectPathCallback& callback)); | 40 const ObjectPathCallback& callback)); |
41 MOCK_METHOD2(CallAddIPConfigAndBlock, | 41 MOCK_METHOD2(CallAddIPConfigAndBlock, |
42 dbus::ObjectPath(const dbus::ObjectPath& device_path, | 42 dbus::ObjectPath(const dbus::ObjectPath& device_path, |
43 const std::string& method)); | 43 const std::string& method)); |
44 MOCK_METHOD4(RequirePin, void(const dbus::ObjectPath& device_path, | 44 MOCK_METHOD5(RequirePin, void(const dbus::ObjectPath& device_path, |
45 const std::string& pin, | 45 const std::string& pin, |
46 bool require, | 46 bool require, |
47 const VoidCallback& callback)); | 47 const base::Closure& callback, |
48 MOCK_METHOD3(EnterPin, void(const dbus::ObjectPath& device_path, | 48 const ErrorCallback& error_callback)); |
| 49 MOCK_METHOD4(EnterPin, void(const dbus::ObjectPath& device_path, |
49 const std::string& pin, | 50 const std::string& pin, |
50 const VoidCallback& callback)); | 51 const base::Closure& callback, |
51 MOCK_METHOD4(UnblockPin, void(const dbus::ObjectPath& device_path, | 52 const ErrorCallback& error_callback)); |
| 53 MOCK_METHOD5(UnblockPin, void(const dbus::ObjectPath& device_path, |
52 const std::string& puk, | 54 const std::string& puk, |
53 const std::string& pin, | 55 const std::string& pin, |
54 const VoidCallback& callback)); | 56 const base::Closure& callback, |
55 MOCK_METHOD4(ChangePin, void(const dbus::ObjectPath& device_path, | 57 const ErrorCallback& error_callback)); |
| 58 MOCK_METHOD5(ChangePin, void(const dbus::ObjectPath& device_path, |
56 const std::string& old_pin, | 59 const std::string& old_pin, |
57 const std::string& new_pin, | 60 const std::string& new_pin, |
58 const VoidCallback& callback)); | 61 const base::Closure& callback, |
59 MOCK_METHOD3(Register, void(const dbus::ObjectPath& device_path, | 62 const ErrorCallback& error_callback)); |
| 63 MOCK_METHOD4(Register, void(const dbus::ObjectPath& device_path, |
60 const std::string& network_id, | 64 const std::string& network_id, |
61 const VoidCallback& callback)); | 65 const base::Closure& callback, |
| 66 const ErrorCallback& error_callback)); |
62 }; | 67 }; |
63 | 68 |
64 } // namespace chromeos | 69 } // namespace chromeos |
65 | 70 |
66 #endif // CHROMEOS_DBUS_MOCK_FLIMFLAM_DEVICE_CLIENT_H_ | 71 #endif // CHROMEOS_DBUS_MOCK_FLIMFLAM_DEVICE_CLIENT_H_ |
OLD | NEW |