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_PROFILE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_SHILL_PROFILE_CLIENT_H_ |
6 #define CHROMEOS_DBUS_MOCK_SHILL_PROFILE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_SHILL_PROFILE_CLIENT_H_ |
7 | 7 |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "chromeos/dbus/shill_profile_client.h" | 9 #include "chromeos/dbus/shill_profile_client.h" |
10 #include "chromeos/dbus/shill_property_changed_observer.h" | 10 #include "chromeos/dbus/shill_property_changed_observer.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 const ErrorCallback& error_callback)); | 32 const ErrorCallback& error_callback)); |
33 MOCK_METHOD4(GetEntry, void( | 33 MOCK_METHOD4(GetEntry, void( |
34 const dbus::ObjectPath& profile_path, | 34 const dbus::ObjectPath& profile_path, |
35 const std::string& entry_path, | 35 const std::string& entry_path, |
36 const DictionaryValueCallbackWithoutStatus& callback, | 36 const DictionaryValueCallbackWithoutStatus& callback, |
37 const ErrorCallback& error_callback)); | 37 const ErrorCallback& error_callback)); |
38 MOCK_METHOD4(DeleteEntry, void(const dbus::ObjectPath& profile_path, | 38 MOCK_METHOD4(DeleteEntry, void(const dbus::ObjectPath& profile_path, |
39 const std::string& entry_path, | 39 const std::string& entry_path, |
40 const base::Closure& callback, | 40 const base::Closure& callback, |
41 const ErrorCallback& error_callback)); | 41 const ErrorCallback& error_callback)); |
| 42 MOCK_METHOD0(GetTestInterface, TestInterface*()); |
42 }; | 43 }; |
43 | 44 |
44 } // namespace chromeos | 45 } // namespace chromeos |
45 | 46 |
46 #endif // CHROMEOS_DBUS_MOCK_SHILL_PROFILE_CLIENT_H_ | 47 #endif // CHROMEOS_DBUS_MOCK_SHILL_PROFILE_CLIENT_H_ |
OLD | NEW |