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

Unified Diff: src/platform/pam_offline/credentials.h

Issue 591001: move enable_localaccount.sh, make pam_offline use it (Closed)
Patch Set: fix comment Created 10 years, 10 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 | « src/platform/pam_offline/authenticator.cc ('k') | src/platform/pam_offline/username_password.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/pam_offline/credentials.h
diff --git a/src/platform/pam_offline/credentials.h b/src/platform/pam_offline/credentials.h
index d098de87a4479834ed82999f82d591d64312c300..8f0604a582cc16cf63c0cce7069c467f6f615c5c 100644
--- a/src/platform/pam_offline/credentials.h
+++ b/src/platform/pam_offline/credentials.h
@@ -34,6 +34,12 @@ class Credentials {
//
virtual void GetPartialUsername(char *name_buffer, int length) const = 0;
+#ifdef CHROMEOS_PAM_LOCALACCOUNT
+ // returns true if we're willing to accept these credentials without
+ // talking to Google.
+ virtual bool IsLocalAccount() const = 0;
+#endif
+
// Returns the obfuscated username, used as the name of the directory
// containing the user's stateful data (and maybe used for other reasons
// at some point.)
« no previous file with comments | « src/platform/pam_offline/authenticator.cc ('k') | src/platform/pam_offline/username_password.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698