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_SHILL_CLIENT_UNITTEST_BASE_H_ | 5 #ifndef CHROMEOS_DBUS_SHILL_CLIENT_UNITTEST_BASE_H_ |
6 #define CHROMEOS_DBUS_SHILL_CLIENT_UNITTEST_BASE_H_ | 6 #define CHROMEOS_DBUS_SHILL_CLIENT_UNITTEST_BASE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
13 #include "chromeos/dbus/dbus_method_call_status.h" | 15 #include "chromeos/dbus/dbus_method_call_status.h" |
14 #include "chromeos/dbus/shill_client_helper.h" | 16 #include "chromeos/dbus/shill_client_helper.h" |
15 #include "chromeos/dbus/shill_property_changed_observer.h" | 17 #include "chromeos/dbus/shill_property_changed_observer.h" |
16 #include "chromeos/dbus/shill_third_party_vpn_observer.h" | 18 #include "chromeos/dbus/shill_third_party_vpn_observer.h" |
17 #include "dbus/mock_bus.h" | 19 #include "dbus/mock_bus.h" |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 std::string expected_method_name_; | 263 std::string expected_method_name_; |
262 // The response which the mock object proxy returns. | 264 // The response which the mock object proxy returns. |
263 dbus::Response* response_; | 265 dbus::Response* response_; |
264 // A callback to intercept and check the method call arguments. | 266 // A callback to intercept and check the method call arguments. |
265 ArgumentCheckCallback argument_checker_; | 267 ArgumentCheckCallback argument_checker_; |
266 }; | 268 }; |
267 | 269 |
268 } // namespace chromeos | 270 } // namespace chromeos |
269 | 271 |
270 #endif // CHROMEOS_DBUS_SHILL_CLIENT_UNITTEST_BASE_H_ | 272 #endif // CHROMEOS_DBUS_SHILL_CLIENT_UNITTEST_BASE_H_ |
OLD | NEW |