| 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_CRYPTOHOME_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 6 #define CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 MOCK_METHOD1(Init, void(dbus::Bus* bus)); | 24 MOCK_METHOD1(Init, void(dbus::Bus* bus)); |
| 25 MOCK_METHOD2(SetAsyncCallStatusHandlers, | 25 MOCK_METHOD2(SetAsyncCallStatusHandlers, |
| 26 void(const AsyncCallStatusHandler& handler, | 26 void(const AsyncCallStatusHandler& handler, |
| 27 const AsyncCallStatusWithDataHandler& data_handler)); | 27 const AsyncCallStatusWithDataHandler& data_handler)); |
| 28 MOCK_METHOD0(ResetAsyncCallStatusHandlers, void()); | 28 MOCK_METHOD0(ResetAsyncCallStatusHandlers, void()); |
| 29 MOCK_METHOD1(SetLowDiskSpaceHandler, | 29 MOCK_METHOD1(SetLowDiskSpaceHandler, |
| 30 void(const LowDiskSpaceHandler& handler)); | 30 void(const LowDiskSpaceHandler& handler)); |
| 31 MOCK_METHOD1(WaitForServiceToBeAvailable, | 31 MOCK_METHOD1(WaitForServiceToBeAvailable, |
| 32 void(const WaitForServiceToBeAvailableCallback& callback)); | 32 void(const WaitForServiceToBeAvailableCallback& callback)); |
| 33 MOCK_METHOD1(IsMounted, void(const BoolDBusMethodCallback& callback)); | 33 MOCK_METHOD1(IsMounted, void(const BoolDBusMethodCallback& callback)); |
| 34 MOCK_METHOD1(Unmount, bool(bool* success)); | 34 MOCK_METHOD1(Unmount, void(const BoolDBusMethodCallback& callback)); |
| 35 MOCK_METHOD3(AsyncCheckKey, | 35 MOCK_METHOD3(AsyncCheckKey, |
| 36 void(const cryptohome::Identification& cryptohome_id, | 36 void(const cryptohome::Identification& cryptohome_id, |
| 37 const std::string& key, | 37 const std::string& key, |
| 38 const AsyncMethodCallback& callback)); | 38 const AsyncMethodCallback& callback)); |
| 39 MOCK_METHOD4(AsyncMigrateKey, | 39 MOCK_METHOD4(AsyncMigrateKey, |
| 40 void(const cryptohome::Identification& cryptohome_id, | 40 void(const cryptohome::Identification& cryptohome_id, |
| 41 const std::string& from_key, | 41 const std::string& from_key, |
| 42 const std::string& to_key, | 42 const std::string& to_key, |
| 43 const AsyncMethodCallback& callback)); | 43 const AsyncMethodCallback& callback)); |
| 44 MOCK_METHOD2(AsyncRemove, | 44 MOCK_METHOD2(AsyncRemove, |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 void(const cryptohome::Identification& cryptohome_id, | 226 void(const cryptohome::Identification& cryptohome_id, |
| 227 const cryptohome::AuthorizationRequest& auth, | 227 const cryptohome::AuthorizationRequest& auth, |
| 228 const VoidDBusMethodCallback& callback)); | 228 const VoidDBusMethodCallback& callback)); |
| 229 MOCK_METHOD1(SetDircryptoMigrationProgressHandler, | 229 MOCK_METHOD1(SetDircryptoMigrationProgressHandler, |
| 230 void(const DircryptoMigrationProgessHandler& handler)); | 230 void(const DircryptoMigrationProgessHandler& handler)); |
| 231 }; | 231 }; |
| 232 | 232 |
| 233 } // namespace chromeos | 233 } // namespace chromeos |
| 234 | 234 |
| 235 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ | 235 #endif // CHROMEOS_DBUS_MOCK_CRYPTOHOME_CLIENT_H_ |
| OLD | NEW |