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_FLIMFLAM_CLIENT_UNITTEST_BASE_H_ | 5 #ifndef CHROMEOS_DBUS_FLIMFLAM_CLIENT_UNITTEST_BASE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DBUS_FLIMFLAM_CLIENT_UNITTEST_BASE_H_ | 6 #define CHROMEOS_DBUS_FLIMFLAM_CLIENT_UNITTEST_BASE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
13 #include "chrome/browser/chromeos/dbus/dbus_method_call_status.h" | 13 #include "chromeos/dbus/dbus_method_call_status.h" |
14 #include "dbus/mock_bus.h" | 14 #include "dbus/mock_bus.h" |
15 #include "dbus/mock_object_proxy.h" | 15 #include "dbus/mock_object_proxy.h" |
16 #include "dbus/object_proxy.h" | 16 #include "dbus/object_proxy.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 | 20 |
21 class Value; | 21 class Value; |
22 class DictionaryValue; | 22 class DictionaryValue; |
23 | 23 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 // The name of the method which is expected to be called. | 113 // The name of the method which is expected to be called. |
114 std::string expected_method_name_; | 114 std::string expected_method_name_; |
115 // The response which the mock object proxy returns. | 115 // The response which the mock object proxy returns. |
116 dbus::Response* response_; | 116 dbus::Response* response_; |
117 // A callback to intercept and check the method call arguments. | 117 // A callback to intercept and check the method call arguments. |
118 ArgumentCheckCallback argument_checker_; | 118 ArgumentCheckCallback argument_checker_; |
119 }; | 119 }; |
120 | 120 |
121 } // namespace chromeos | 121 } // namespace chromeos |
122 | 122 |
123 #endif // CHROME_BROWSER_CHROMEOS_DBUS_FLIMFLAM_CLIENT_UNITTEST_BASE_H_ | 123 #endif // CHROMEOS_DBUS_FLIMFLAM_CLIENT_UNITTEST_BASE_H_ |
OLD | NEW |