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

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

Issue 398753004: [cros] Move User class to user_manager component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | components/user_manager.gypi » ('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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // Calls Pkcs11GetTpmTokenInfo method. This method is deprecated, you should 229 // Calls Pkcs11GetTpmTokenInfo method. This method is deprecated, you should
230 // use Pkcs11GetTpmTokenInfoForUser instead. On success |callback| will 230 // use Pkcs11GetTpmTokenInfoForUser instead. On success |callback| will
231 // receive PKCS #11 token information for the token associated with the user 231 // receive PKCS #11 token information for the token associated with the user
232 // who originally signed in (i.e. PKCS #11 slot 0). 232 // who originally signed in (i.e. PKCS #11 slot 0).
233 virtual void Pkcs11GetTpmTokenInfo( 233 virtual void Pkcs11GetTpmTokenInfo(
234 const Pkcs11GetTpmTokenInfoCallback& callback) = 0; 234 const Pkcs11GetTpmTokenInfoCallback& callback) = 0;
235 235
236 // Calls Pkcs11GetTpmTokenInfoForUser method. On success |callback| will 236 // Calls Pkcs11GetTpmTokenInfoForUser method. On success |callback| will
237 // receive PKCS #11 token information for the user identified by |user_email|. 237 // receive PKCS #11 token information for the user identified by |user_email|.
238 // The |user_email| must be a canonical email address as returned by 238 // The |user_email| must be a canonical email address as returned by
239 // chromeos::User::email(). 239 // user_manager::User::email().
240 virtual void Pkcs11GetTpmTokenInfoForUser( 240 virtual void Pkcs11GetTpmTokenInfoForUser(
241 const std::string& user_email, 241 const std::string& user_email,
242 const Pkcs11GetTpmTokenInfoCallback& callback) = 0; 242 const Pkcs11GetTpmTokenInfoCallback& callback) = 0;
243 243
244 // Calls InstallAttributesGet method and returns true when the call succeeds. 244 // Calls InstallAttributesGet method and returns true when the call succeeds.
245 // This method blocks until the call returns. 245 // This method blocks until the call returns.
246 // The original content of |value| is lost. 246 // The original content of |value| is lost.
247 virtual bool InstallAttributesGet(const std::string& name, 247 virtual bool InstallAttributesGet(const std::string& name,
248 std::vector<uint8>* value, 248 std::vector<uint8>* value,
249 bool* successful) = 0; 249 bool* successful) = 0;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 // Create() should be used instead. 530 // Create() should be used instead.
531 CryptohomeClient(); 531 CryptohomeClient();
532 532
533 private: 533 private:
534 DISALLOW_COPY_AND_ASSIGN(CryptohomeClient); 534 DISALLOW_COPY_AND_ASSIGN(CryptohomeClient);
535 }; 535 };
536 536
537 } // namespace chromeos 537 } // namespace chromeos
538 538
539 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_ 539 #endif // CHROMEOS_DBUS_CRYPTOHOME_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | components/user_manager.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698