Alex Deymo | d5561a5 | 2015-09-03 23:17:52 -0700 | [diff] [blame^] | 1 | // Automatic generation of D-Bus interface mock proxies for: |
| 2 | // - org.chromium.debugd |
| 3 | #ifndef ____CHROMEOS_DBUS_BINDING____________________BUILD_LINK_VAR_CACHE_PORTAGE_CHROMEOS_BASE_DEBUGD_CLIENT_OUT_DEFAULT_GEN_INCLUDE_DEBUGD_DBUS_PROXY_MOCKS_H |
| 4 | #define ____CHROMEOS_DBUS_BINDING____________________BUILD_LINK_VAR_CACHE_PORTAGE_CHROMEOS_BASE_DEBUGD_CLIENT_OUT_DEFAULT_GEN_INCLUDE_DEBUGD_DBUS_PROXY_MOCKS_H |
| 5 | #include <string> |
| 6 | #include <vector> |
| 7 | |
| 8 | #include <base/callback_forward.h> |
| 9 | #include <base/logging.h> |
| 10 | #include <base/macros.h> |
| 11 | #include <chromeos/any.h> |
| 12 | #include <chromeos/errors/error.h> |
| 13 | #include <chromeos/variant_dictionary.h> |
| 14 | #include <gmock/gmock.h> |
| 15 | |
| 16 | #include "debugd/dbus-proxies.h" |
| 17 | |
| 18 | namespace org { |
| 19 | namespace chromium { |
| 20 | |
| 21 | // Mock object for debugdProxyInterface. |
| 22 | class debugdProxyMock : public debugdProxyInterface { |
| 23 | public: |
| 24 | debugdProxyMock() = default; |
| 25 | |
| 26 | MOCK_METHOD6(PingStart, |
| 27 | bool(const dbus::FileDescriptor& /*in_outfd*/, |
| 28 | const std::string& /*in_destination*/, |
| 29 | const chromeos::VariantDictionary& /*in_options*/, |
| 30 | std::string* /*out_handle*/, |
| 31 | chromeos::ErrorPtr* /*error*/, |
| 32 | int /*timeout_ms*/)); |
| 33 | MOCK_METHOD6(PingStartAsync, |
| 34 | void(const dbus::FileDescriptor& /*in_outfd*/, |
| 35 | const std::string& /*in_destination*/, |
| 36 | const chromeos::VariantDictionary& /*in_options*/, |
| 37 | const base::Callback<void(const std::string& /*handle*/)>& /*success_callback*/, |
| 38 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 39 | int /*timeout_ms*/)); |
| 40 | MOCK_METHOD3(PingStop, |
| 41 | bool(const std::string& /*in_handle*/, |
| 42 | chromeos::ErrorPtr* /*error*/, |
| 43 | int /*timeout_ms*/)); |
| 44 | MOCK_METHOD4(PingStopAsync, |
| 45 | void(const std::string& /*in_handle*/, |
| 46 | const base::Callback<void()>& /*success_callback*/, |
| 47 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 48 | int /*timeout_ms*/)); |
| 49 | MOCK_METHOD3(SystraceStart, |
| 50 | bool(const std::string& /*in_categories*/, |
| 51 | chromeos::ErrorPtr* /*error*/, |
| 52 | int /*timeout_ms*/)); |
| 53 | MOCK_METHOD4(SystraceStartAsync, |
| 54 | void(const std::string& /*in_categories*/, |
| 55 | const base::Callback<void()>& /*success_callback*/, |
| 56 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 57 | int /*timeout_ms*/)); |
| 58 | MOCK_METHOD3(SystraceStop, |
| 59 | bool(const dbus::FileDescriptor& /*in_outfd*/, |
| 60 | chromeos::ErrorPtr* /*error*/, |
| 61 | int /*timeout_ms*/)); |
| 62 | MOCK_METHOD4(SystraceStopAsync, |
| 63 | void(const dbus::FileDescriptor& /*in_outfd*/, |
| 64 | const base::Callback<void()>& /*success_callback*/, |
| 65 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 66 | int /*timeout_ms*/)); |
| 67 | MOCK_METHOD3(SystraceStatus, |
| 68 | bool(std::string* /*out_status*/, |
| 69 | chromeos::ErrorPtr* /*error*/, |
| 70 | int /*timeout_ms*/)); |
| 71 | MOCK_METHOD3(SystraceStatusAsync, |
| 72 | void(const base::Callback<void(const std::string& /*status*/)>& /*success_callback*/, |
| 73 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 74 | int /*timeout_ms*/)); |
| 75 | MOCK_METHOD6(TracePathStart, |
| 76 | bool(const dbus::FileDescriptor& /*in_outfd*/, |
| 77 | const std::string& /*in_destination*/, |
| 78 | const chromeos::VariantDictionary& /*in_options*/, |
| 79 | std::string* /*out_handle*/, |
| 80 | chromeos::ErrorPtr* /*error*/, |
| 81 | int /*timeout_ms*/)); |
| 82 | MOCK_METHOD6(TracePathStartAsync, |
| 83 | void(const dbus::FileDescriptor& /*in_outfd*/, |
| 84 | const std::string& /*in_destination*/, |
| 85 | const chromeos::VariantDictionary& /*in_options*/, |
| 86 | const base::Callback<void(const std::string& /*handle*/)>& /*success_callback*/, |
| 87 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 88 | int /*timeout_ms*/)); |
| 89 | MOCK_METHOD3(TracePathStop, |
| 90 | bool(const std::string& /*in_handle*/, |
| 91 | chromeos::ErrorPtr* /*error*/, |
| 92 | int /*timeout_ms*/)); |
| 93 | MOCK_METHOD4(TracePathStopAsync, |
| 94 | void(const std::string& /*in_handle*/, |
| 95 | const base::Callback<void()>& /*success_callback*/, |
| 96 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 97 | int /*timeout_ms*/)); |
| 98 | MOCK_METHOD4(GetRoutes, |
| 99 | bool(const chromeos::VariantDictionary& /*in_options*/, |
| 100 | std::vector<std::string>* /*out_result*/, |
| 101 | chromeos::ErrorPtr* /*error*/, |
| 102 | int /*timeout_ms*/)); |
| 103 | MOCK_METHOD4(GetRoutesAsync, |
| 104 | void(const chromeos::VariantDictionary& /*in_options*/, |
| 105 | const base::Callback<void(const std::vector<std::string>& /*result*/)>& /*success_callback*/, |
| 106 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 107 | int /*timeout_ms*/)); |
| 108 | MOCK_METHOD3(GetModemStatus, |
| 109 | bool(std::string* /*out_status*/, |
| 110 | chromeos::ErrorPtr* /*error*/, |
| 111 | int /*timeout_ms*/)); |
| 112 | MOCK_METHOD3(GetModemStatusAsync, |
| 113 | void(const base::Callback<void(const std::string& /*status*/)>& /*success_callback*/, |
| 114 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 115 | int /*timeout_ms*/)); |
| 116 | MOCK_METHOD4(RunModemCommand, |
| 117 | bool(const std::string& /*in_command*/, |
| 118 | std::string* /*out_status*/, |
| 119 | chromeos::ErrorPtr* /*error*/, |
| 120 | int /*timeout_ms*/)); |
| 121 | MOCK_METHOD4(RunModemCommandAsync, |
| 122 | void(const std::string& /*in_command*/, |
| 123 | const base::Callback<void(const std::string& /*status*/)>& /*success_callback*/, |
| 124 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 125 | int /*timeout_ms*/)); |
| 126 | MOCK_METHOD3(GetNetworkStatus, |
| 127 | bool(std::string* /*out_status*/, |
| 128 | chromeos::ErrorPtr* /*error*/, |
| 129 | int /*timeout_ms*/)); |
| 130 | MOCK_METHOD3(GetNetworkStatusAsync, |
| 131 | void(const base::Callback<void(const std::string& /*status*/)>& /*success_callback*/, |
| 132 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 133 | int /*timeout_ms*/)); |
| 134 | MOCK_METHOD3(GetWiMaxStatus, |
| 135 | bool(std::string* /*out_status*/, |
| 136 | chromeos::ErrorPtr* /*error*/, |
| 137 | int /*timeout_ms*/)); |
| 138 | MOCK_METHOD3(GetWiMaxStatusAsync, |
| 139 | void(const base::Callback<void(const std::string& /*status*/)>& /*success_callback*/, |
| 140 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 141 | int /*timeout_ms*/)); |
| 142 | MOCK_METHOD7(GetPerfOutput, |
| 143 | bool(uint32_t /*in_duration_sec*/, |
| 144 | const std::vector<std::string>& /*in_perf_args*/, |
| 145 | int32_t* /*out_status*/, |
| 146 | std::vector<uint8_t>* /*out_perf_data*/, |
| 147 | std::vector<uint8_t>* /*out_perf_stat*/, |
| 148 | chromeos::ErrorPtr* /*error*/, |
| 149 | int /*timeout_ms*/)); |
| 150 | MOCK_METHOD5(GetPerfOutputAsync, |
| 151 | void(uint32_t /*in_duration_sec*/, |
| 152 | const std::vector<std::string>& /*in_perf_args*/, |
| 153 | const base::Callback<void(int32_t /*status*/, const std::vector<uint8_t>& /*perf_data*/, const std::vector<uint8_t>& /*perf_stat*/)>& /*success_callback*/, |
| 154 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 155 | int /*timeout_ms*/)); |
| 156 | MOCK_METHOD6(GetRandomPerfOutput, |
| 157 | bool(uint32_t /*in_duration_sec*/, |
| 158 | int32_t* /*out_status*/, |
| 159 | std::vector<uint8_t>* /*out_perf_data*/, |
| 160 | std::vector<uint8_t>* /*out_perf_stat*/, |
| 161 | chromeos::ErrorPtr* /*error*/, |
| 162 | int /*timeout_ms*/)); |
| 163 | MOCK_METHOD4(GetRandomPerfOutputAsync, |
| 164 | void(uint32_t /*in_duration_sec*/, |
| 165 | const base::Callback<void(int32_t /*status*/, const std::vector<uint8_t>& /*perf_data*/, const std::vector<uint8_t>& /*perf_stat*/)>& /*success_callback*/, |
| 166 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 167 | int /*timeout_ms*/)); |
| 168 | MOCK_METHOD4(GetRichPerfData, |
| 169 | bool(uint32_t /*in_duration_sec*/, |
| 170 | std::vector<uint8_t>* /*out_status*/, |
| 171 | chromeos::ErrorPtr* /*error*/, |
| 172 | int /*timeout_ms*/)); |
| 173 | MOCK_METHOD4(GetRichPerfDataAsync, |
| 174 | void(uint32_t /*in_duration_sec*/, |
| 175 | const base::Callback<void(const std::vector<uint8_t>& /*status*/)>& /*success_callback*/, |
| 176 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 177 | int /*timeout_ms*/)); |
| 178 | MOCK_METHOD3(GetDebugLogs, |
| 179 | bool(const dbus::FileDescriptor& /*in_outfd*/, |
| 180 | chromeos::ErrorPtr* /*error*/, |
| 181 | int /*timeout_ms*/)); |
| 182 | MOCK_METHOD4(GetDebugLogsAsync, |
| 183 | void(const dbus::FileDescriptor& /*in_outfd*/, |
| 184 | const base::Callback<void()>& /*success_callback*/, |
| 185 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 186 | int /*timeout_ms*/)); |
| 187 | MOCK_METHOD4(DumpDebugLogs, |
| 188 | bool(bool /*in_is_compressed*/, |
| 189 | const dbus::FileDescriptor& /*in_outfd*/, |
| 190 | chromeos::ErrorPtr* /*error*/, |
| 191 | int /*timeout_ms*/)); |
| 192 | MOCK_METHOD5(DumpDebugLogsAsync, |
| 193 | void(bool /*in_is_compressed*/, |
| 194 | const dbus::FileDescriptor& /*in_outfd*/, |
| 195 | const base::Callback<void()>& /*success_callback*/, |
| 196 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 197 | int /*timeout_ms*/)); |
| 198 | MOCK_METHOD3(SetDebugMode, |
| 199 | bool(const std::string& /*in_subsystem*/, |
| 200 | chromeos::ErrorPtr* /*error*/, |
| 201 | int /*timeout_ms*/)); |
| 202 | MOCK_METHOD4(SetDebugModeAsync, |
| 203 | void(const std::string& /*in_subsystem*/, |
| 204 | const base::Callback<void()>& /*success_callback*/, |
| 205 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 206 | int /*timeout_ms*/)); |
| 207 | MOCK_METHOD4(GetLog, |
| 208 | bool(const std::string& /*in_log*/, |
| 209 | std::string* /*out_contents*/, |
| 210 | chromeos::ErrorPtr* /*error*/, |
| 211 | int /*timeout_ms*/)); |
| 212 | MOCK_METHOD4(GetLogAsync, |
| 213 | void(const std::string& /*in_log*/, |
| 214 | const base::Callback<void(const std::string& /*contents*/)>& /*success_callback*/, |
| 215 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 216 | int /*timeout_ms*/)); |
| 217 | MOCK_METHOD3(GetAllLogs, |
| 218 | bool(std::map<std::string, std::string>* /*out_logs*/, |
| 219 | chromeos::ErrorPtr* /*error*/, |
| 220 | int /*timeout_ms*/)); |
| 221 | MOCK_METHOD3(GetAllLogsAsync, |
| 222 | void(const base::Callback<void(const std::map<std::string, std::string>& /*logs*/)>& /*success_callback*/, |
| 223 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 224 | int /*timeout_ms*/)); |
| 225 | MOCK_METHOD3(GetFeedbackLogs, |
| 226 | bool(std::map<std::string, std::string>* /*out_logs*/, |
| 227 | chromeos::ErrorPtr* /*error*/, |
| 228 | int /*timeout_ms*/)); |
| 229 | MOCK_METHOD3(GetFeedbackLogsAsync, |
| 230 | void(const base::Callback<void(const std::map<std::string, std::string>& /*logs*/)>& /*success_callback*/, |
| 231 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 232 | int /*timeout_ms*/)); |
| 233 | MOCK_METHOD3(GetUserLogFiles, |
| 234 | bool(std::map<std::string, std::string>* /*out_user_log_files*/, |
| 235 | chromeos::ErrorPtr* /*error*/, |
| 236 | int /*timeout_ms*/)); |
| 237 | MOCK_METHOD3(GetUserLogFilesAsync, |
| 238 | void(const base::Callback<void(const std::map<std::string, std::string>& /*user_log_files*/)>& /*success_callback*/, |
| 239 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 240 | int /*timeout_ms*/)); |
| 241 | MOCK_METHOD3(GetExample, |
| 242 | bool(std::string* /*out_result*/, |
| 243 | chromeos::ErrorPtr* /*error*/, |
| 244 | int /*timeout_ms*/)); |
| 245 | MOCK_METHOD3(GetExampleAsync, |
| 246 | void(const base::Callback<void(const std::string& /*result*/)>& /*success_callback*/, |
| 247 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 248 | int /*timeout_ms*/)); |
| 249 | MOCK_METHOD3(GetInterfaces, |
| 250 | bool(std::string* /*out_result*/, |
| 251 | chromeos::ErrorPtr* /*error*/, |
| 252 | int /*timeout_ms*/)); |
| 253 | MOCK_METHOD3(GetInterfacesAsync, |
| 254 | void(const base::Callback<void(const std::string& /*result*/)>& /*success_callback*/, |
| 255 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 256 | int /*timeout_ms*/)); |
| 257 | MOCK_METHOD4(TestICMP, |
| 258 | bool(const std::string& /*in_host*/, |
| 259 | std::string* /*out_result*/, |
| 260 | chromeos::ErrorPtr* /*error*/, |
| 261 | int /*timeout_ms*/)); |
| 262 | MOCK_METHOD4(TestICMPAsync, |
| 263 | void(const std::string& /*in_host*/, |
| 264 | const base::Callback<void(const std::string& /*result*/)>& /*success_callback*/, |
| 265 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 266 | int /*timeout_ms*/)); |
| 267 | MOCK_METHOD5(TestICMPWithOptions, |
| 268 | bool(const std::string& /*in_host*/, |
| 269 | const std::map<std::string, std::string>& /*in_options*/, |
| 270 | std::string* /*out_result*/, |
| 271 | chromeos::ErrorPtr* /*error*/, |
| 272 | int /*timeout_ms*/)); |
| 273 | MOCK_METHOD5(TestICMPWithOptionsAsync, |
| 274 | void(const std::string& /*in_host*/, |
| 275 | const std::map<std::string, std::string>& /*in_options*/, |
| 276 | const base::Callback<void(const std::string& /*result*/)>& /*success_callback*/, |
| 277 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 278 | int /*timeout_ms*/)); |
| 279 | MOCK_METHOD4(BatteryFirmware, |
| 280 | bool(const std::string& /*in_option*/, |
| 281 | std::string* /*out_result*/, |
| 282 | chromeos::ErrorPtr* /*error*/, |
| 283 | int /*timeout_ms*/)); |
| 284 | MOCK_METHOD4(BatteryFirmwareAsync, |
| 285 | void(const std::string& /*in_option*/, |
| 286 | const base::Callback<void(const std::string& /*result*/)>& /*success_callback*/, |
| 287 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 288 | int /*timeout_ms*/)); |
| 289 | MOCK_METHOD4(Smartctl, |
| 290 | bool(const std::string& /*in_option*/, |
| 291 | std::string* /*out_result*/, |
| 292 | chromeos::ErrorPtr* /*error*/, |
| 293 | int /*timeout_ms*/)); |
| 294 | MOCK_METHOD4(SmartctlAsync, |
| 295 | void(const std::string& /*in_option*/, |
| 296 | const base::Callback<void(const std::string& /*result*/)>& /*success_callback*/, |
| 297 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 298 | int /*timeout_ms*/)); |
| 299 | MOCK_METHOD5(MemtesterStart, |
| 300 | bool(const dbus::FileDescriptor& /*in_outfd*/, |
| 301 | uint32_t /*in_memory*/, |
| 302 | std::string* /*out_status*/, |
| 303 | chromeos::ErrorPtr* /*error*/, |
| 304 | int /*timeout_ms*/)); |
| 305 | MOCK_METHOD5(MemtesterStartAsync, |
| 306 | void(const dbus::FileDescriptor& /*in_outfd*/, |
| 307 | uint32_t /*in_memory*/, |
| 308 | const base::Callback<void(const std::string& /*status*/)>& /*success_callback*/, |
| 309 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 310 | int /*timeout_ms*/)); |
| 311 | MOCK_METHOD3(MemtesterStop, |
| 312 | bool(const std::string& /*in_handle*/, |
| 313 | chromeos::ErrorPtr* /*error*/, |
| 314 | int /*timeout_ms*/)); |
| 315 | MOCK_METHOD4(MemtesterStopAsync, |
| 316 | void(const std::string& /*in_handle*/, |
| 317 | const base::Callback<void()>& /*success_callback*/, |
| 318 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 319 | int /*timeout_ms*/)); |
| 320 | MOCK_METHOD4(BadblocksStart, |
| 321 | bool(const dbus::FileDescriptor& /*in_outfd*/, |
| 322 | std::string* /*out_status*/, |
| 323 | chromeos::ErrorPtr* /*error*/, |
| 324 | int /*timeout_ms*/)); |
| 325 | MOCK_METHOD4(BadblocksStartAsync, |
| 326 | void(const dbus::FileDescriptor& /*in_outfd*/, |
| 327 | const base::Callback<void(const std::string& /*status*/)>& /*success_callback*/, |
| 328 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 329 | int /*timeout_ms*/)); |
| 330 | MOCK_METHOD3(BadblocksStop, |
| 331 | bool(const std::string& /*in_handle*/, |
| 332 | chromeos::ErrorPtr* /*error*/, |
| 333 | int /*timeout_ms*/)); |
| 334 | MOCK_METHOD4(BadblocksStopAsync, |
| 335 | void(const std::string& /*in_handle*/, |
| 336 | const base::Callback<void()>& /*success_callback*/, |
| 337 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 338 | int /*timeout_ms*/)); |
| 339 | MOCK_METHOD6(PacketCaptureStart, |
| 340 | bool(const dbus::FileDescriptor& /*in_statfd*/, |
| 341 | const dbus::FileDescriptor& /*in_outfd*/, |
| 342 | const chromeos::VariantDictionary& /*in_options*/, |
| 343 | std::string* /*out_handle*/, |
| 344 | chromeos::ErrorPtr* /*error*/, |
| 345 | int /*timeout_ms*/)); |
| 346 | MOCK_METHOD6(PacketCaptureStartAsync, |
| 347 | void(const dbus::FileDescriptor& /*in_statfd*/, |
| 348 | const dbus::FileDescriptor& /*in_outfd*/, |
| 349 | const chromeos::VariantDictionary& /*in_options*/, |
| 350 | const base::Callback<void(const std::string& /*handle*/)>& /*success_callback*/, |
| 351 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 352 | int /*timeout_ms*/)); |
| 353 | MOCK_METHOD3(PacketCaptureStop, |
| 354 | bool(const std::string& /*in_handle*/, |
| 355 | chromeos::ErrorPtr* /*error*/, |
| 356 | int /*timeout_ms*/)); |
| 357 | MOCK_METHOD4(PacketCaptureStopAsync, |
| 358 | void(const std::string& /*in_handle*/, |
| 359 | const base::Callback<void()>& /*success_callback*/, |
| 360 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 361 | int /*timeout_ms*/)); |
| 362 | MOCK_METHOD2(LogKernelTaskStates, |
| 363 | bool(chromeos::ErrorPtr* /*error*/, |
| 364 | int /*timeout_ms*/)); |
| 365 | MOCK_METHOD3(LogKernelTaskStatesAsync, |
| 366 | void(const base::Callback<void()>& /*success_callback*/, |
| 367 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 368 | int /*timeout_ms*/)); |
| 369 | MOCK_METHOD2(UploadCrashes, |
| 370 | bool(chromeos::ErrorPtr* /*error*/, |
| 371 | int /*timeout_ms*/)); |
| 372 | MOCK_METHOD3(UploadCrashesAsync, |
| 373 | void(const base::Callback<void()>& /*success_callback*/, |
| 374 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 375 | int /*timeout_ms*/)); |
| 376 | MOCK_METHOD2(RemoveRootfsVerification, |
| 377 | bool(chromeos::ErrorPtr* /*error*/, |
| 378 | int /*timeout_ms*/)); |
| 379 | MOCK_METHOD3(RemoveRootfsVerificationAsync, |
| 380 | void(const base::Callback<void()>& /*success_callback*/, |
| 381 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 382 | int /*timeout_ms*/)); |
| 383 | MOCK_METHOD2(EnableBootFromUsb, |
| 384 | bool(chromeos::ErrorPtr* /*error*/, |
| 385 | int /*timeout_ms*/)); |
| 386 | MOCK_METHOD3(EnableBootFromUsbAsync, |
| 387 | void(const base::Callback<void()>& /*success_callback*/, |
| 388 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 389 | int /*timeout_ms*/)); |
| 390 | MOCK_METHOD2(ConfigureSshServer, |
| 391 | bool(chromeos::ErrorPtr* /*error*/, |
| 392 | int /*timeout_ms*/)); |
| 393 | MOCK_METHOD3(ConfigureSshServerAsync, |
| 394 | void(const base::Callback<void()>& /*success_callback*/, |
| 395 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 396 | int /*timeout_ms*/)); |
| 397 | MOCK_METHOD4(SetUserPassword, |
| 398 | bool(const std::string& /*in_username*/, |
| 399 | const std::string& /*in_password*/, |
| 400 | chromeos::ErrorPtr* /*error*/, |
| 401 | int /*timeout_ms*/)); |
| 402 | MOCK_METHOD5(SetUserPasswordAsync, |
| 403 | void(const std::string& /*in_username*/, |
| 404 | const std::string& /*in_password*/, |
| 405 | const base::Callback<void()>& /*success_callback*/, |
| 406 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 407 | int /*timeout_ms*/)); |
| 408 | MOCK_METHOD2(EnableChromeRemoteDebugging, |
| 409 | bool(chromeos::ErrorPtr* /*error*/, |
| 410 | int /*timeout_ms*/)); |
| 411 | MOCK_METHOD3(EnableChromeRemoteDebuggingAsync, |
| 412 | void(const base::Callback<void()>& /*success_callback*/, |
| 413 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 414 | int /*timeout_ms*/)); |
| 415 | MOCK_METHOD3(EnableChromeDevFeatures, |
| 416 | bool(const std::string& /*in_root_password*/, |
| 417 | chromeos::ErrorPtr* /*error*/, |
| 418 | int /*timeout_ms*/)); |
| 419 | MOCK_METHOD4(EnableChromeDevFeaturesAsync, |
| 420 | void(const std::string& /*in_root_password*/, |
| 421 | const base::Callback<void()>& /*success_callback*/, |
| 422 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 423 | int /*timeout_ms*/)); |
| 424 | MOCK_METHOD3(QueryDevFeatures, |
| 425 | bool(int32_t* /*out_features*/, |
| 426 | chromeos::ErrorPtr* /*error*/, |
| 427 | int /*timeout_ms*/)); |
| 428 | MOCK_METHOD3(QueryDevFeaturesAsync, |
| 429 | void(const base::Callback<void(int32_t /*features*/)>& /*success_callback*/, |
| 430 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 431 | int /*timeout_ms*/)); |
| 432 | MOCK_METHOD2(EnableDevCoredumpUpload, |
| 433 | bool(chromeos::ErrorPtr* /*error*/, |
| 434 | int /*timeout_ms*/)); |
| 435 | MOCK_METHOD3(EnableDevCoredumpUploadAsync, |
| 436 | void(const base::Callback<void()>& /*success_callback*/, |
| 437 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 438 | int /*timeout_ms*/)); |
| 439 | MOCK_METHOD2(DisableDevCoredumpUpload, |
| 440 | bool(chromeos::ErrorPtr* /*error*/, |
| 441 | int /*timeout_ms*/)); |
| 442 | MOCK_METHOD3(DisableDevCoredumpUploadAsync, |
| 443 | void(const base::Callback<void()>& /*success_callback*/, |
| 444 | const base::Callback<void(chromeos::Error*)>& /*error_callback*/, |
| 445 | int /*timeout_ms*/)); |
| 446 | |
| 447 | private: |
| 448 | DISALLOW_COPY_AND_ASSIGN(debugdProxyMock); |
| 449 | }; |
| 450 | } // namespace chromium |
| 451 | } // namespace org |
| 452 | |
| 453 | #endif // ____CHROMEOS_DBUS_BINDING____________________BUILD_LINK_VAR_CACHE_PORTAGE_CHROMEOS_BASE_DEBUGD_CLIENT_OUT_DEFAULT_GEN_INCLUDE_DEBUGD_DBUS_PROXY_MOCKS_H |