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

Side by Side Diff: chrome/common/pref_names.cc

Issue 143463009: Add policy that forces SAML users to log in online periodically (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 const char kMultiProfileUserBehavior[] = "settings.multiprofile_user_behavior"; 871 const char kMultiProfileUserBehavior[] = "settings.multiprofile_user_behavior";
872 872
873 // List of the set of language codes for which high quality local speech 873 // List of the set of language codes for which high quality local speech
874 // synthesis has been enabled. 874 // synthesis has been enabled.
875 const char kHighQualitySpeechSynthesisLanguages[] = 875 const char kHighQualitySpeechSynthesisLanguages[] =
876 "settings.speech_synthesis.high_quality_languages"; 876 "settings.speech_synthesis.high_quality_languages";
877 877
878 // A boolean preference indicating whether user has seen first-run tutorial 878 // A boolean preference indicating whether user has seen first-run tutorial
879 // already. 879 // already.
880 const char kFirstRunTutorialShown[] = "settings.first_run_tutorial_shown"; 880 const char kFirstRunTutorialShown[] = "settings.first_run_tutorial_shown";
881
882 // Indicates the amount of time for which a user authenticated via SAML can use
883 // offline authentication against a cached password before being forced to go
884 // through online authentication against GAIA again. The time is expressed in
885 // seconds. A value of -1 indicates no limit, allowing the user to use offline
886 // authentication indefinitely. The limit is in effect only if GAIA redirected
887 // the user to a SAML IdP during the last online authentication.
888 const char kSAMLOfflineSigninTimeLimit[] = "saml.offline_signin_time_limit";
889
890 // A preference to keep track of the last time the user authenticated against
891 // GAIA using SAML. The preference is updated whenever the user authenticates
892 // against GAIA: If GAIA redirects to a SAML IdP, the preference is set to the
893 // current time. If GAIA performs the authentication itself, the preference is
894 // cleared. The time is expressed as the serialization obtained from
895 // base::Time::ToInternalValue().
896 const char kSAMLLastGAIASignInTime[] = "saml.last_gaia_sign_in_time";
881 #endif // defined(OS_CHROMEOS) 897 #endif // defined(OS_CHROMEOS)
882 898
883 // The disabled messages in IPC logging. 899 // The disabled messages in IPC logging.
884 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; 900 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages";
885 901
886 // A boolean pref set to true if a Home button to open the Home pages should be 902 // A boolean pref set to true if a Home button to open the Home pages should be
887 // visible on the toolbar. 903 // visible on the toolbar.
888 const char kShowHomeButton[] = "browser.show_home_button"; 904 const char kShowHomeButton[] = "browser.show_home_button";
889 905
890 // A string value which saves short list of recently user selected encodings 906 // A string value which saves short list of recently user selected encodings
(...skipping 1731 matching lines...) Expand 10 before | Expand all | Expand 10 after
2622 2638
2623 // The number of seconds since epoch that the OS password was last changed. 2639 // The number of seconds since epoch that the OS password was last changed.
2624 const char kOsPasswordLastChanged[] = 2640 const char kOsPasswordLastChanged[] =
2625 "password_manager.os_password_last_changed"; 2641 "password_manager.os_password_last_changed";
2626 #endif 2642 #endif
2627 2643
2628 // Whether DNS Quick Check is disabled in proxy resolution. 2644 // Whether DNS Quick Check is disabled in proxy resolution.
2629 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2645 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2630 2646
2631 } // namespace prefs 2647 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698