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

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

Issue 2111043003: Storage manager: Show the disk usage of other users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo and the order of storage items. 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
« no previous file with comments | « chromeos/dbus/cryptohome_client.cc ('k') | chromeos/dbus/fake_cryptohome_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 24 matching lines...) Expand all
35 const AsyncMethodCallback& callback) override; 35 const AsyncMethodCallback& callback) override;
36 void AsyncMigrateKey(const cryptohome::Identification& cryptohome_id, 36 void AsyncMigrateKey(const cryptohome::Identification& cryptohome_id,
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,
46 const ProtobufMethodCallback& callback) override;
45 void GetSystemSalt(const GetSystemSaltCallback& callback) override; 47 void GetSystemSalt(const GetSystemSaltCallback& callback) override;
46 void GetSanitizedUsername(const cryptohome::Identification& cryptohome_id, 48 void GetSanitizedUsername(const cryptohome::Identification& cryptohome_id,
47 const StringDBusMethodCallback& callback) override; 49 const StringDBusMethodCallback& callback) override;
48 std::string BlockingGetSanitizedUsername( 50 std::string BlockingGetSanitizedUsername(
49 const cryptohome::Identification& cryptohome_id) override; 51 const cryptohome::Identification& cryptohome_id) override;
50 void AsyncMount(const cryptohome::Identification& cryptohome_id, 52 void AsyncMount(const cryptohome::Identification& cryptohome_id,
51 const std::string& key, 53 const std::string& key,
52 int flags, 54 int flags,
53 const AsyncMethodCallback& callback) override; 55 const AsyncMethodCallback& callback) override;
54 void AsyncAddKey(const cryptohome::Identification& cryptohome_id, 56 void AsyncAddKey(const cryptohome::Identification& cryptohome_id,
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 std::map<std::string, std::vector<uint8_t>> install_attrs_; 242 std::map<std::string, std::vector<uint8_t>> install_attrs_;
241 bool locked_; 243 bool locked_;
242 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_; 244 base::WeakPtrFactory<FakeCryptohomeClient> weak_ptr_factory_;
243 245
244 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient); 246 DISALLOW_COPY_AND_ASSIGN(FakeCryptohomeClient);
245 }; 247 };
246 248
247 } // namespace chromeos 249 } // namespace chromeos
248 250
249 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_ 251 #endif // CHROMEOS_DBUS_FAKE_CRYPTOHOME_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/cryptohome_client.cc ('k') | chromeos/dbus/fake_cryptohome_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698