pref_names.cc 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. // Copyright 2021 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/custom_handlers/pref_names.h"
  5. namespace custom_handlers {
  6. namespace prefs {
  7. // List of protocol handlers.
  8. const char kRegisteredProtocolHandlers[] =
  9. "custom_handlers.registered_protocol_handlers";
  10. // List of protocol handlers the user has requested not to be asked about again.
  11. const char kIgnoredProtocolHandlers[] =
  12. "custom_handlers.ignored_protocol_handlers";
  13. // List of protocol handlers registered by policy.
  14. const char kPolicyRegisteredProtocolHandlers[] =
  15. "custom_handlers.policy.registered_protocol_handlers";
  16. // List of protocol handlers the policy has requested to be ignored.
  17. const char kPolicyIgnoredProtocolHandlers[] =
  18. "custom_handlers.policy.ignored_protocol_handlers";
  19. // Whether user-specified handlers for protocols and content types can be
  20. // specified.
  21. const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
  22. } // namespace prefs
  23. } // namespace custom_handlers