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

Side by Side Diff: chromeos/dbus/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/cryptohome/mock_homedir_methods.h ('k') | chromeos/dbus/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 (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_CRYPTOHOME_CLIENT_H_ 5 #ifndef CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_
6 #define CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_ 6 #define CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 virtual void AsyncRemove(const cryptohome::Identification& cryptohome_id, 145 virtual void AsyncRemove(const cryptohome::Identification& cryptohome_id,
146 const AsyncMethodCallback& callback) = 0; 146 const AsyncMethodCallback& callback) = 0;
147 147
148 // Calls RenameCryptohome method. |callback| is called after the method 148 // Calls RenameCryptohome method. |callback| is called after the method
149 // call succeeds. 149 // call succeeds.
150 virtual void RenameCryptohome( 150 virtual void RenameCryptohome(
151 const cryptohome::Identification& cryptohome_id_from, 151 const cryptohome::Identification& cryptohome_id_from,
152 const cryptohome::Identification& cryptohome_id_to, 152 const cryptohome::Identification& cryptohome_id_to,
153 const ProtobufMethodCallback& callback) = 0; 153 const ProtobufMethodCallback& callback) = 0;
154 154
155 // Calls GetAccountDiskUsage method. |callback| is called after the method
156 // call succeeds
157 virtual void GetAccountDiskUsage(const cryptohome::Identification& account_id,
158 const ProtobufMethodCallback& callback) = 0;
159
155 // Calls GetSystemSalt method. |callback| is called after the method call 160 // Calls GetSystemSalt method. |callback| is called after the method call
156 // succeeds. 161 // succeeds.
157 virtual void GetSystemSalt(const GetSystemSaltCallback& callback) = 0; 162 virtual void GetSystemSalt(const GetSystemSaltCallback& callback) = 0;
158 163
159 // Calls GetSanitizedUsername method. |callback| is called after the method 164 // Calls GetSanitizedUsername method. |callback| is called after the method
160 // call succeeds. 165 // call succeeds.
161 virtual void GetSanitizedUsername( 166 virtual void GetSanitizedUsername(
162 const cryptohome::Identification& cryptohome_id, 167 const cryptohome::Identification& cryptohome_id,
163 const StringDBusMethodCallback& callback) = 0; 168 const StringDBusMethodCallback& callback) = 0;
164 169
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 // Create() should be used instead. 559 // Create() should be used instead.
555 CryptohomeClient(); 560 CryptohomeClient();
556 561
557 private: 562 private:
558 DISALLOW_COPY_AND_ASSIGN(CryptohomeClient); 563 DISALLOW_COPY_AND_ASSIGN(CryptohomeClient);
559 }; 564 };
560 565
561 } // namespace chromeos 566 } // namespace chromeos
562 567
563 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_ 568 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_
OLDNEW
« no previous file with comments | « chromeos/cryptohome/mock_homedir_methods.h ('k') | chromeos/dbus/cryptohome_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698