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_MOCK_SHILL_SERVICE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_ |
6 #define CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_ |
7 | 7 |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "chromeos/dbus/shill_property_changed_observer.h" | 9 #include "chromeos/dbus/shill_property_changed_observer.h" |
10 #include "chromeos/dbus/shill_service_client.h" | 10 #include "chromeos/dbus/shill_service_client.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 const base::Closure& callback, | 45 const base::Closure& callback, |
46 const ErrorCallback& error_callback)); | 46 const ErrorCallback& error_callback)); |
47 MOCK_METHOD4(ActivateCellularModem, | 47 MOCK_METHOD4(ActivateCellularModem, |
48 void(const dbus::ObjectPath& service_path, | 48 void(const dbus::ObjectPath& service_path, |
49 const std::string& carrier, | 49 const std::string& carrier, |
50 const base::Closure& callback, | 50 const base::Closure& callback, |
51 const ErrorCallback& error_callback)); | 51 const ErrorCallback& error_callback)); |
52 MOCK_METHOD2(CallActivateCellularModemAndBlock, | 52 MOCK_METHOD2(CallActivateCellularModemAndBlock, |
53 bool(const dbus::ObjectPath& service_path, | 53 bool(const dbus::ObjectPath& service_path, |
54 const std::string& carrier)); | 54 const std::string& carrier)); |
| 55 MOCK_METHOD0(GetTestInterface, TestInterface*()); |
55 }; | 56 }; |
56 | 57 |
57 } // namespace chromeos | 58 } // namespace chromeos |
58 | 59 |
59 #endif // CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_ | 60 #endif // CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_ |
OLD | NEW |