Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Side by Side Diff: chromeos/dbus/fake_cryptohome_client.h

Issue 2136023002: arc: Abort booting ARC if the device is critically low on disk space. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 26 matching lines...) Expand all
37 const std::string& from_key, 37 const std::string& from_key,
38 const std::string& to_key, 38 const std::string& to_key,
39 const AsyncMethodCallback& callback) override; 39 const AsyncMethodCallback& callback) override;
40 void AsyncRemove(const cryptohome::Identification& cryptohome_id, 40 void AsyncRemove(const cryptohome::Identification& cryptohome_id,
41 const AsyncMethodCallback& callback) override; 41 const AsyncMethodCallback& callback) override;
42 void RenameCryptohome(const cryptohome::Identification& cryptohome_id_from, 42 void RenameCryptohome(const cryptohome::Identification& cryptohome_id_from,
43 const cryptohome::Identification& cryptohome_id_to, 43 const cryptohome::Identification& cryptohome_id_to,
44 const ProtobufMethodCallback& callback) override; 44 const ProtobufMethodCallback& callback) override;
45 void GetAccountDiskUsage(const cryptohome::Identification& account_id, 45 void GetAccountDiskUsage(const cryptohome::Identification& account_id,
46 const ProtobufMethodCallback& callback) override; 46 const ProtobufMethodCallback& callback) override;
47 void GetFreeDiskSpace(const GetFreeDiskSpaceCallback& callback) override;
47 void GetSystemSalt(const GetSystemSaltCallback& callback) override; 48 void GetSystemSalt(const GetSystemSaltCallback& callback) override;
48 void GetSanitizedUsername(const cryptohome::Identification& cryptohome_id, 49 void GetSanitizedUsername(const cryptohome::Identification& cryptohome_id,
49 const StringDBusMethodCallback& callback) override; 50 const StringDBusMethodCallback& callback) override;
50 std::string BlockingGetSanitizedUsername( 51 std::string BlockingGetSanitizedUsername(
51 const cryptohome::Identification& cryptohome_id) override; 52 const cryptohome::Identification& cryptohome_id) override;
52 void AsyncMount(const cryptohome::Identification& cryptohome_id, 53 void AsyncMount(const cryptohome::Identification& cryptohome_id,
53 const std::string& key, 54 const std::string& key,
54 int flags, 55 int flags,
55 const AsyncMethodCallback& callback) override; 56 const AsyncMethodCallback& callback) override;
56 void AsyncAddKey(const cryptohome::Identification& cryptohome_id, 57 void AsyncAddKey(const cryptohome::Identification& cryptohome_id,
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 std::map<std::string, std::vector<uint8_t>> install_attrs_; 243 std::map<std::string, std::vector<uint8_t>> install_attrs_;
243 bool locked_; 244 bool locked_;
244 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_; 245 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_;
245 246
246 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient); 247 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient);
247 }; 248 };
248 249
249 } // namespace chromeos 250 } // namespace chromeos
250 251
251 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ 252 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698