switches.cc 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // Copyright 2019 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/switches.h"
  5. namespace embedder_support {
  6. // Disable auto-reload of error pages.
  7. const char kDisableAutoReload[] = "disable-auto-reload";
  8. // Disables pop-up blocking.
  9. const char kDisablePopupBlocking[] = "disable-popup-blocking";
  10. // Enable auto-reload of error pages.
  11. const char kEnableAutoReload[] = "enable-auto-reload";
  12. // Contains a list of feature names for which origin trial experiments should
  13. // be disabled. Names should be separated by "|" characters.
  14. const char kOriginTrialDisabledFeatures[] = "origin-trial-disabled-features";
  15. // Contains a list of token signatures for which origin trial experiments should
  16. // be disabled. Tokens should be separated by "|" characters.
  17. const char kOriginTrialDisabledTokens[] = "origin-trial-disabled-tokens";
  18. // Comma-separated list of keys which will override the default public keys for
  19. // checking origin trial tokens.
  20. const char kOriginTrialPublicKey[] = "origin-trial-public-key";
  21. // Sets the Reporting API delay to under a second to allow much quicker reports.
  22. const char kShortReportingDelay[] = "short-reporting-delay";
  23. // A string used to override the default user agent with a custom one.
  24. const char kUserAgent[] = "user-agent";
  25. } // namespace embedder_support