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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 const base::Closure& callback, | 46 const base::Closure& callback, |
47 const ErrorCallback& error_callback)); | 47 const ErrorCallback& error_callback)); |
48 MOCK_METHOD3(Remove, void(const dbus::ObjectPath& service_path, | 48 MOCK_METHOD3(Remove, void(const dbus::ObjectPath& service_path, |
49 const base::Closure& callback, | 49 const base::Closure& callback, |
50 const ErrorCallback& error_callback)); | 50 const ErrorCallback& error_callback)); |
51 MOCK_METHOD4(ActivateCellularModem, | 51 MOCK_METHOD4(ActivateCellularModem, |
52 void(const dbus::ObjectPath& service_path, | 52 void(const dbus::ObjectPath& service_path, |
53 const std::string& carrier, | 53 const std::string& carrier, |
54 const base::Closure& callback, | 54 const base::Closure& callback, |
55 const ErrorCallback& error_callback)); | 55 const ErrorCallback& error_callback)); |
| 56 MOCK_METHOD3(CompleteCellularActivation, |
| 57 void(const dbus::ObjectPath& service_path, |
| 58 const base::Closure& callback, |
| 59 const ErrorCallback& error_callback)); |
56 MOCK_METHOD2(CallActivateCellularModemAndBlock, | 60 MOCK_METHOD2(CallActivateCellularModemAndBlock, |
57 bool(const dbus::ObjectPath& service_path, | 61 bool(const dbus::ObjectPath& service_path, |
58 const std::string& carrier)); | 62 const std::string& carrier)); |
59 MOCK_METHOD0(GetTestInterface, TestInterface*()); | 63 MOCK_METHOD0(GetTestInterface, TestInterface*()); |
60 }; | 64 }; |
61 | 65 |
62 } // namespace chromeos | 66 } // namespace chromeos |
63 | 67 |
64 #endif // CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_ | 68 #endif // CHROMEOS_DBUS_MOCK_SHILL_SERVICE_CLIENT_H_ |
OLD | NEW |