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

Unified Diff: chrome/browser/signin/local_auth.h

Issue 497783002: Disable lock if no credentials are present (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Return [false] if profile_index = ::npos Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/signin/local_auth.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/local_auth.h
diff --git a/chrome/browser/signin/local_auth.h b/chrome/browser/signin/local_auth.h
index 2342a8142a2da6591238c44e2bba0a85401cd6b0..e660e4c5134398575a67488e9310144a15eb562a 100644
--- a/chrome/browser/signin/local_auth.h
+++ b/chrome/browser/signin/local_auth.h
@@ -33,6 +33,10 @@ bool ValidateLocalAuthCredentials(size_t profile_info_index,
bool ValidateLocalAuthCredentials(const Profile* profile,
const std::string& password);
+bool LocalAuthCredentialsExist(size_t profile_info_index);
+
+bool LocalAuthCredentialsExist(const Profile* profile);
+
} // namespace chrome
#endif // CHROME_BROWSER_SIGNIN_LOCAL_AUTH_H_
« no previous file with comments | « no previous file | chrome/browser/signin/local_auth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698