Chromium Code Reviews| Index: chrome/browser/chromeos/login/parallel_authenticator.h |
| =================================================================== |
| --- chrome/browser/chromeos/login/parallel_authenticator.h (revision 95832) |
| +++ chrome/browser/chromeos/login/parallel_authenticator.h (working copy) |
| @@ -147,6 +147,8 @@ |
| const std::string& login_captcha) OVERRIDE; |
| virtual void VerifyOAuth1AccessToken(const std::string& oauth1_access_token, |
| const std::string& oauth1_secret) OVERRIDE; |
| + virtual std::string EncryptToken(const std::string& token) OVERRIDE; |
| + virtual std::string DecryptToken(const std::string& encrypted_token) OVERRIDE; |
| // AuthAttemptStateResolver overrides. |
| // Attempts to make a decision and call back |consumer_| based on |
| @@ -238,13 +240,8 @@ |
| // Returns the ascii encoding of the system salt. |
| std::string SaltAsAscii(); |
| - // Converts the binary data |binary| into an ascii hex string and stores |
| - // it in |hex_string|. Not guaranteed to be NULL-terminated. |
| - // Returns false if |hex_string| is too small, true otherwise. |
| - static bool BinaryToHex(const std::vector<unsigned char>& binary, |
| - const unsigned int binary_len, |
| - char* hex_string, |
| - const unsigned int len); |
| + // Returns the ascii encoding of user supplemental key. |
| + std::string UserSupplementalKeyAsAscii(); |
|
Chris Masone
2011/08/09 04:19:32
It'd be good to file an issue for converting this
|
| // Signal login completion status for cases when a new user is added via |
| // an external authentication provider (i.e. GAIA extension). |