OLD | NEW |
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 // The local-auth module allows for user authentication in the case when | 5 // The local-auth module allows for user authentication in the case when |
6 // on-line authentication is not possible (e.g. there is no network | 6 // on-line authentication is not possible (e.g. there is no network |
7 // connection). | 7 // connection). |
8 | 8 |
9 #ifndef CHROME_BROWSER_SIGNIN_LOCAL_AUTH_H_ | 9 #ifndef CHROME_BROWSER_SIGNIN_LOCAL_AUTH_H_ |
10 #define CHROME_BROWSER_SIGNIN_LOCAL_AUTH_H_ | 10 #define CHROME_BROWSER_SIGNIN_LOCAL_AUTH_H_ |
11 | 11 |
| 12 #include <stddef.h> |
| 13 |
12 #include <string> | 14 #include <string> |
13 | 15 |
14 #include "base/gtest_prod_util.h" | 16 #include "base/gtest_prod_util.h" |
15 | 17 |
16 class LocalAuthTest; | 18 class LocalAuthTest; |
17 class Profile; | 19 class Profile; |
18 | 20 |
19 namespace user_prefs { | 21 namespace user_prefs { |
20 class PrefRegistrySyncable; | 22 class PrefRegistrySyncable; |
21 } | 23 } |
(...skipping 25 matching lines...) Expand all Loading... |
47 // testing. | 49 // testing. |
48 static std::string TruncateStringByBits(const std::string& str, | 50 static std::string TruncateStringByBits(const std::string& str, |
49 const size_t len_bits); | 51 const size_t len_bits); |
50 | 52 |
51 static void SetLocalAuthCredentialsWithEncoding(size_t profile_info_index, | 53 static void SetLocalAuthCredentialsWithEncoding(size_t profile_info_index, |
52 const std::string& password, | 54 const std::string& password, |
53 char encoding_version); | 55 char encoding_version); |
54 }; | 56 }; |
55 | 57 |
56 #endif // CHROME_BROWSER_SIGNIN_LOCAL_AUTH_H_ | 58 #endif // CHROME_BROWSER_SIGNIN_LOCAL_AUTH_H_ |
OLD | NEW |