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_DEVICE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_SHILL_DEVICE_CLIENT_H_ |
6 #define CHROMEOS_DBUS_MOCK_SHILL_DEVICE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_SHILL_DEVICE_CLIENT_H_ |
7 | 7 |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "chromeos/dbus/shill_device_client.h" | 9 #include "chromeos/dbus/shill_device_client.h" |
10 #include "chromeos/dbus/shill_property_changed_observer.h" | 10 #include "chromeos/dbus/shill_property_changed_observer.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 const base::Closure& callback, | 64 const base::Closure& callback, |
65 const ErrorCallback& error_callback)); | 65 const ErrorCallback& error_callback)); |
66 MOCK_METHOD4(Register, void(const dbus::ObjectPath& device_path, | 66 MOCK_METHOD4(Register, void(const dbus::ObjectPath& device_path, |
67 const std::string& network_id, | 67 const std::string& network_id, |
68 const base::Closure& callback, | 68 const base::Closure& callback, |
69 const ErrorCallback& error_callback)); | 69 const ErrorCallback& error_callback)); |
70 MOCK_METHOD4(SetCarrier, void(const dbus::ObjectPath& device_path, | 70 MOCK_METHOD4(SetCarrier, void(const dbus::ObjectPath& device_path, |
71 const std::string& carrier, | 71 const std::string& carrier, |
72 const base::Closure& callback, | 72 const base::Closure& callback, |
73 const ErrorCallback& error_callback)); | 73 const ErrorCallback& error_callback)); |
| 74 MOCK_METHOD3(Reset, void(const dbus::ObjectPath& device_path, |
| 75 const base::Closure& callback, |
| 76 const ErrorCallback& error_callback)); |
74 MOCK_METHOD0(GetTestInterface, TestInterface*()); | 77 MOCK_METHOD0(GetTestInterface, TestInterface*()); |
75 }; | 78 }; |
76 | 79 |
77 } // namespace chromeos | 80 } // namespace chromeos |
78 | 81 |
79 #endif // CHROMEOS_DBUS_MOCK_SHILL_DEVICE_CLIENT_H_ | 82 #endif // CHROMEOS_DBUS_MOCK_SHILL_DEVICE_CLIENT_H_ |
OLD | NEW |