| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_ | |
| 6 #define CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/values.h" | |
| 11 #include "chromeos/dbus/sms_client.h" | |
| 12 #include "dbus/object_path.h" | |
| 13 #include "testing/gmock/include/gmock/gmock.h" | |
| 14 | |
| 15 namespace chromeos { | |
| 16 | |
| 17 class MockSMSClient : public SMSClient { | |
| 18 public: | |
| 19 MockSMSClient(); | |
| 20 virtual ~MockSMSClient(); | |
| 21 MOCK_METHOD3(GetAll, void(const std::string& service_name, | |
| 22 const dbus::ObjectPath& object_path, | |
| 23 const GetAllCallback& callback)); | |
| 24 }; | |
| 25 | |
| 26 } // namespace chromeos | |
| 27 | |
| 28 #endif // CHROMEOS_DBUS_MOCK_SMS_CLIENT_H_ | |
| OLD | NEW |