pref_names.cc 963 B

12345678910111213141516171819202122
  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. #include "components/embedder_support/pref_names.h"
  5. namespace embedder_support {
  6. // A boolean pref set to true if we're using Link Doctor error pages.
  7. const char kAlternateErrorPagesEnabled[] = "alternate_error_pages.enabled";
  8. // Enum indicating if the user agent string should freeze the major version
  9. // at 99 and report the browser's major version in the minor position.
  10. // TODO(crbug.com/1290820): Remove this policy.
  11. const char kForceMajorVersionToMinorPosition[] =
  12. "force_major_version_to_minor_position_in_user_agent";
  13. // Enum indicating if the user agent reduction feature should be forced enabled
  14. // or disabled. Defaults to blink::features::kReduceUserAgentMinorVersion trial.
  15. const char kReduceUserAgentMinorVersion[] = "user_agent_reduction";
  16. } // namespace embedder_support