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 <string> |
| 10 |
9 #include "base/values.h" | 11 #include "base/values.h" |
10 #include "chromeos/dbus/gsm_sms_client.h" | 12 #include "chromeos/dbus/gsm_sms_client.h" |
11 #include "dbus/object_path.h" | 13 #include "dbus/object_path.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
13 | 15 |
14 namespace chromeos { | 16 namespace chromeos { |
15 | 17 |
16 class MockGsmSMSClient : public GsmSMSClient { | 18 class MockGsmSMSClient : public GsmSMSClient { |
17 public: | 19 public: |
18 MockGsmSMSClient(); | 20 MockGsmSMSClient(); |
(...skipping 16 matching lines...) Expand all Loading... |
35 MOCK_METHOD3(List, void(const std::string& service_name, | 37 MOCK_METHOD3(List, void(const std::string& service_name, |
36 const dbus::ObjectPath& object_path, | 38 const dbus::ObjectPath& object_path, |
37 const ListCallback& callback)); | 39 const ListCallback& callback)); |
38 MOCK_METHOD2(RequestUpdate, void(const std::string& service_name, | 40 MOCK_METHOD2(RequestUpdate, void(const std::string& service_name, |
39 const dbus::ObjectPath& object_path)); | 41 const dbus::ObjectPath& object_path)); |
40 }; | 42 }; |
41 | 43 |
42 } // namespace chromeos | 44 } // namespace chromeos |
43 | 45 |
44 #endif // CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_ | 46 #endif // CHROMEOS_DBUS_MOCK_GSM_SMS_CLIENT_H_ |
OLD | NEW |