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_GSM_SMS_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_ |
6 #define CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chromeos/dbus/gsm_sms_client.h" | 10 #include "chromeos/dbus/gsm_sms_client.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 const dbus::ObjectPath& object_path, | 28 const dbus::ObjectPath& object_path, |
29 uint32 index, | 29 uint32 index, |
30 const DeleteCallback& callback)); | 30 const DeleteCallback& callback)); |
31 MOCK_METHOD4(Get, void(const std::string& service_name, | 31 MOCK_METHOD4(Get, void(const std::string& service_name, |
32 const dbus::ObjectPath& object_path, | 32 const dbus::ObjectPath& object_path, |
33 uint32 index, | 33 uint32 index, |
34 const GetCallback& callback)); | 34 const GetCallback& callback)); |
35 MOCK_METHOD3(List, void(const std::string& service_name, | 35 MOCK_METHOD3(List, void(const std::string& service_name, |
36 const dbus::ObjectPath& object_path, | 36 const dbus::ObjectPath& object_path, |
37 const ListCallback& callback)); | 37 const ListCallback& callback)); |
| 38 MOCK_METHOD2(RequestUpdate, void(const std::string& service_name, |
| 39 const dbus::ObjectPath& object_path)); |
38 }; | 40 }; |
39 | 41 |
40 } // namespace chromeos | 42 } // namespace chromeos |
41 | 43 |
42 #endif // CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_ | 44 #endif // CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_ |
OLD | NEW |