| 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_FLIMFLAM_SERVICE_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/values.h" | 8 #include "base/values.h" |
| 9 #include "chromeos/dbus/flimflam_service_client.h" | 9 #include "chromeos/dbus/flimflam_service_client.h" |
| 10 #include "dbus/object_path.h" | 10 #include "dbus/object_path.h" |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 MOCK_METHOD3(Connect, void(const dbus::ObjectPath& service_path, | 34 MOCK_METHOD3(Connect, void(const dbus::ObjectPath& service_path, |
| 35 const base::Closure& callback, | 35 const base::Closure& callback, |
| 36 const ErrorCallback& error_callback)); | 36 const ErrorCallback& error_callback)); |
| 37 MOCK_METHOD2(Disconnect, void(const dbus::ObjectPath& service_path, | 37 MOCK_METHOD2(Disconnect, void(const dbus::ObjectPath& service_path, |
| 38 const VoidCallback& callback)); | 38 const VoidCallback& callback)); |
| 39 MOCK_METHOD2(Remove, void(const dbus::ObjectPath& service_path, | 39 MOCK_METHOD2(Remove, void(const dbus::ObjectPath& service_path, |
| 40 const VoidCallback& callback)); | 40 const VoidCallback& callback)); |
| 41 MOCK_METHOD3(ActivateCellularModem, void(const dbus::ObjectPath& service_path, | 41 MOCK_METHOD3(ActivateCellularModem, void(const dbus::ObjectPath& service_path, |
| 42 const std::string& carrier, | 42 const std::string& carrier, |
| 43 const VoidCallback& callback)); | 43 const VoidCallback& callback)); |
| 44 MOCK_METHOD2(CallActivateCellularModemAndBlock, |
| 45 bool(const dbus::ObjectPath& service_path, |
| 46 const std::string& carrier)); |
| 44 }; | 47 }; |
| 45 | 48 |
| 46 } // namespace chromeos | 49 } // namespace chromeos |
| 47 | 50 |
| 48 #endif // CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_ | 51 #endif // CHROMEOS_DBUS_MOCK_FLIMFLAM_SERVICE_CLIENT_H_ |
| OLD | NEW |