| Index: chrome/browser/signin/local_auth.cc
|
| diff --git a/chrome/browser/signin/local_auth.cc b/chrome/browser/signin/local_auth.cc
|
| index 14bf511dbca8937c73328ad6f8bc115992ce4911..7748898f8e7a2c08decd9f033792208cb5f62c9c 100644
|
| --- a/chrome/browser/signin/local_auth.cc
|
| +++ b/chrome/browser/signin/local_auth.cc
|
| @@ -198,23 +198,4 @@ bool ValidateLocalAuthCredentials(const Profile* profile,
|
| password);
|
| }
|
|
|
| -bool LocalAuthCredentialsExist(size_t profile_info_index) {
|
| - if (profile_info_index == std::string::npos) {
|
| - NOTREACHED();
|
| - return false;
|
| - }
|
| -
|
| - ProfileInfoCache& info =
|
| - g_browser_process->profile_manager()->GetProfileInfoCache();
|
| -
|
| - std::string encodedhash =
|
| - info.GetLocalAuthCredentialsOfProfileAtIndex(profile_info_index);
|
| -
|
| - return !encodedhash.empty();
|
| -}
|
| -
|
| -bool LocalAuthCredentialsExist(const Profile* profile) {
|
| - return LocalAuthCredentialsExist(GetProfileInfoIndexOfProfile(profile));
|
| -}
|
| -
|
| } // namespace chrome
|
|
|