Index: chrome/common/pref_names.cc |
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc |
index af94311a707cc2c04ce4185eea34bfc5204af565..bef7e8cc0da3ed142fa20f59b3f1d80a52b948ef 100644 |
--- a/chrome/common/pref_names.cc |
+++ b/chrome/common/pref_names.cc |
@@ -878,6 +878,22 @@ const char kHighQualitySpeechSynthesisLanguages[] = |
// A boolean preference indicating whether user has seen first-run tutorial |
// already. |
const char kFirstRunTutorialShown[] = "settings.first_run_tutorial_shown"; |
+ |
+// Indicates the amount of time for which a user authenticated via SAML can use |
+// offline authentication against a cached password before being forced to go |
+// through online authentication against GAIA again. The time is expressed in |
+// seconds. A value of -1 indicates no limit, allowing the user to use offline |
+// authentication indefinitely. The limit is in effect only if GAIA redirected |
+// the user to a SAML IdP during the last online authentication. |
+const char kSAMLOfflineSigninTimeLimit[] = "saml.offline_signin_time_limit"; |
+ |
+// A preference to keep track of the last time the user authenticated against |
+// GAIA using SAML. The preference is updated whenever the user authenticates |
+// against GAIA: If GAIA redirects to a SAML IdP, the preference is set to the |
+// current time. If GAIA performs the authentication itself, the preference is |
+// cleared. The time is expressed as the serialization obtained from |
+// base::Time::ToInternalValue(). |
+const char kSAMLLastGAIASignInTime[] = "saml.last_gaia_sign_in_time"; |
#endif // defined(OS_CHROMEOS) |
// The disabled messages in IPC logging. |