pref_names.h 1.2 KB

12345678910111213141516171819202122232425262728
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_SECURITY_INTERSTITIALS_CORE_PREF_NAMES_H_
  5. #define COMPONENTS_SECURITY_INTERSTITIALS_CORE_PREF_NAMES_H_
  6. namespace prefs {
  7. // Stores counts and timestamps of SSL certificate errors that have occurred.
  8. // When the same error recurs within some period of time, a message is added to
  9. // the SSL interstitial.
  10. extern const char kRecurrentSSLInterstitial[];
  11. // Boolean pref used to control whether mixed forms (forms on HTTPS sites that
  12. // submit over HTTPS) should trigger an on submit warning interstitial. If
  13. // enabled a warning bubble will also show below the form fields and autofill
  14. // will be disabled.
  15. extern const char kMixedFormsWarningsEnabled[];
  16. // A list pref used to enumerate hostnames that should never be identified as
  17. // possible spoofy lookalike domains. This prevents both the lookalike
  18. // interstitial and safety tips from displaying.
  19. extern const char kLookalikeWarningAllowlistDomains[];
  20. } // namespace prefs
  21. #endif // COMPONENTS_SECURITY_INTERSTITIALS_CORE_PREF_NAMES_H_