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