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 CHROME_BROWSER_CHROMEOS_DBUS_MOCK_INTROSPECTABLE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_INTROSPECTABLE_CLIENT_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DBUS_MOCK_INTROSPECTABLE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_INTROSPECTABLE_CLIENT_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/dbus/introspectable_client.h" | 8 #include "chromeos/dbus/introspectable_client.h" |
9 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gmock/include/gmock/gmock.h" |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 | 12 |
13 class MockIntrospectableClient : public IntrospectableClient { | 13 class MockIntrospectableClient : public IntrospectableClient { |
14 public: | 14 public: |
15 MockIntrospectableClient(); | 15 MockIntrospectableClient(); |
16 virtual ~MockIntrospectableClient(); | 16 virtual ~MockIntrospectableClient(); |
17 | 17 |
18 MOCK_METHOD3(Introspect, void(const std::string&, | 18 MOCK_METHOD3(Introspect, void(const std::string&, |
19 const dbus::ObjectPath&, | 19 const dbus::ObjectPath&, |
20 const IntrospectCallback&)); | 20 const IntrospectCallback&)); |
21 }; | 21 }; |
22 | 22 |
23 } // namespace chromeos | 23 } // namespace chromeos |
24 | 24 |
25 #endif // CHROME_BROWSER_CHROMEOS_DBUS_MOCK_INTROSPECTABLE_CLIENT_H_ | 25 #endif // CHROMEOS_DBUS_MOCK_INTROSPECTABLE_CLIENT_H_ |
OLD | NEW |