| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FAKE_CRYPTOHOME_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 void Init(dbus::Bus* bus) override; | 26 void Init(dbus::Bus* bus) override; |
| 27 void SetAsyncCallStatusHandlers( | 27 void SetAsyncCallStatusHandlers( |
| 28 const AsyncCallStatusHandler& handler, | 28 const AsyncCallStatusHandler& handler, |
| 29 const AsyncCallStatusWithDataHandler& data_handler) override; | 29 const AsyncCallStatusWithDataHandler& data_handler) override; |
| 30 void ResetAsyncCallStatusHandlers() override; | 30 void ResetAsyncCallStatusHandlers() override; |
| 31 void SetLowDiskSpaceHandler(const LowDiskSpaceHandler& handler) override; | 31 void SetLowDiskSpaceHandler(const LowDiskSpaceHandler& handler) override; |
| 32 void WaitForServiceToBeAvailable( | 32 void WaitForServiceToBeAvailable( |
| 33 const WaitForServiceToBeAvailableCallback& callback) override; | 33 const WaitForServiceToBeAvailableCallback& callback) override; |
| 34 void IsMounted(const BoolDBusMethodCallback& callback) override; | 34 void IsMounted(const BoolDBusMethodCallback& callback) override; |
| 35 bool Unmount(bool* success) override; | 35 void Unmount(const BoolDBusMethodCallback& callback) override; |
| 36 void AsyncCheckKey(const cryptohome::Identification& cryptohome_id, | 36 void AsyncCheckKey(const cryptohome::Identification& cryptohome_id, |
| 37 const std::string& key, | 37 const std::string& key, |
| 38 const AsyncMethodCallback& callback) override; | 38 const AsyncMethodCallback& callback) override; |
| 39 void AsyncMigrateKey(const cryptohome::Identification& cryptohome_id, | 39 void AsyncMigrateKey(const cryptohome::Identification& cryptohome_id, |
| 40 const std::string& from_key, | 40 const std::string& from_key, |
| 41 const std::string& to_key, | 41 const std::string& to_key, |
| 42 const AsyncMethodCallback& callback) override; | 42 const AsyncMethodCallback& callback) override; |
| 43 void AsyncRemove(const cryptohome::Identification& cryptohome_id, | 43 void AsyncRemove(const cryptohome::Identification& cryptohome_id, |
| 44 const AsyncMethodCallback& callback) override; | 44 const AsyncMethodCallback& callback) override; |
| 45 void RenameCryptohome(const cryptohome::Identification& cryptohome_id_from, | 45 void RenameCryptohome(const cryptohome::Identification& cryptohome_id_from, |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 uint64_t dircrypto_migration_progress_; | 265 uint64_t dircrypto_migration_progress_; |
| 266 | 266 |
| 267 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_; | 267 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_; |
| 268 | 268 |
| 269 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient); | 269 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient); |
| 270 }; | 270 }; |
| 271 | 271 |
| 272 } // namespace chromeos | 272 } // namespace chromeos |
| 273 | 273 |
| 274 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ | 274 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ |
| OLD | NEW |