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_MANAGER_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ |
6 #define CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include "base/values.h" | 8 #include "base/values.h" |
9 #include "chromeos/dbus/shill_manager_client.h" | 9 #include "chromeos/dbus/shill_manager_client.h" |
10 #include "chromeos/dbus/shill_property_changed_observer.h" | 10 #include "chromeos/dbus/shill_property_changed_observer.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 const ErrorCallback& error_callback)); | 34 const ErrorCallback& error_callback)); |
35 MOCK_METHOD3(EnableTechnology, void(const std::string& type, | 35 MOCK_METHOD3(EnableTechnology, void(const std::string& type, |
36 const base::Closure& callback, | 36 const base::Closure& callback, |
37 const ErrorCallback& error_callback)); | 37 const ErrorCallback& error_callback)); |
38 MOCK_METHOD3(DisableTechnology, void(const std::string& type, | 38 MOCK_METHOD3(DisableTechnology, void(const std::string& type, |
39 const base::Closure& callback, | 39 const base::Closure& callback, |
40 const ErrorCallback& error_callback)); | 40 const ErrorCallback& error_callback)); |
41 MOCK_METHOD3(ConfigureService, void(const base::DictionaryValue& properties, | 41 MOCK_METHOD3(ConfigureService, void(const base::DictionaryValue& properties, |
42 const ObjectPathCallback& callback, | 42 const ObjectPathCallback& callback, |
43 const ErrorCallback& error_callback)); | 43 const ErrorCallback& error_callback)); |
| 44 MOCK_METHOD4(ConfigureServiceForProfile, |
| 45 void(const dbus::ObjectPath& profile_path, |
| 46 const base::DictionaryValue& properties, |
| 47 const ObjectPathCallback& callback, |
| 48 const ErrorCallback& error_callback)); |
44 MOCK_METHOD3(GetService, void(const base::DictionaryValue& properties, | 49 MOCK_METHOD3(GetService, void(const base::DictionaryValue& properties, |
45 const ObjectPathCallback& callback, | 50 const ObjectPathCallback& callback, |
46 const ErrorCallback& error_callback)); | 51 const ErrorCallback& error_callback)); |
47 MOCK_METHOD7(VerifyDestination, void(const std::string& certificate, | 52 MOCK_METHOD7(VerifyDestination, void(const std::string& certificate, |
48 const std::string& public_key, | 53 const std::string& public_key, |
49 const std::string& nonce, | 54 const std::string& nonce, |
50 const std::string& signed_data, | 55 const std::string& signed_data, |
51 const std::string& device_serial, | 56 const std::string& device_serial, |
52 const BooleanCallback& callback, | 57 const BooleanCallback& callback, |
53 const ErrorCallback& error_callback)); | 58 const ErrorCallback& error_callback)); |
(...skipping 17 matching lines...) Expand all Loading... |
71 MOCK_METHOD2(ConnectToBestServices, | 76 MOCK_METHOD2(ConnectToBestServices, |
72 void(const base::Closure& callback, | 77 void(const base::Closure& callback, |
73 const ErrorCallback& error_callback)); | 78 const ErrorCallback& error_callback)); |
74 MOCK_METHOD0(GetTestInterface, TestInterface*()); | 79 MOCK_METHOD0(GetTestInterface, TestInterface*()); |
75 | 80 |
76 }; | 81 }; |
77 | 82 |
78 } // namespace chromeos | 83 } // namespace chromeos |
79 | 84 |
80 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ | 85 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ |
OLD | NEW |