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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 const StringCallback& callback, | 60 const StringCallback& callback, |
61 const ErrorCallback& error_callback)); | 61 const ErrorCallback& error_callback)); |
62 MOCK_METHOD4(VerifyAndEncryptData, | 62 MOCK_METHOD4(VerifyAndEncryptData, |
63 void(const VerificationProperties& properties, | 63 void(const VerificationProperties& properties, |
64 const std::string& data, | 64 const std::string& data, |
65 const StringCallback& callback, | 65 const StringCallback& callback, |
66 const ErrorCallback& error_callback)); | 66 const ErrorCallback& error_callback)); |
67 MOCK_METHOD2(ConnectToBestServices, | 67 MOCK_METHOD2(ConnectToBestServices, |
68 void(const base::Closure& callback, | 68 void(const base::Closure& callback, |
69 const ErrorCallback& error_callback)); | 69 const ErrorCallback& error_callback)); |
70 MOCK_METHOD5(SetNetworkThrottlingStatus, | |
71 void(const bool, | |
72 const uint32_t, | |
73 const uint32_t, | |
74 const base::Closure&, | |
75 const ErrorCallback& error_callback)); | |
76 MOCK_METHOD0(GetTestInterface, TestInterface*()); | 70 MOCK_METHOD0(GetTestInterface, TestInterface*()); |
| 71 |
77 }; | 72 }; |
78 | 73 |
79 } // namespace chromeos | 74 } // namespace chromeos |
80 | 75 |
81 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ | 76 #endif // CHROMEOS_DBUS_MOCK_SHILL_MANAGER_CLIENT_H_ |
OLD | NEW |