url_constants.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // Copyright 2014 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 URL_URL_CONSTANTS_H_
  5. #define URL_URL_CONSTANTS_H_
  6. #include <stddef.h>
  7. #include "base/component_export.h"
  8. namespace url {
  9. COMPONENT_EXPORT(URL) extern const char kAboutBlankURL[];
  10. COMPONENT_EXPORT(URL) extern const char16_t kAboutBlankURL16[];
  11. COMPONENT_EXPORT(URL) extern const char kAboutSrcdocURL[];
  12. COMPONENT_EXPORT(URL) extern const char16_t kAboutSrcdocURL16[];
  13. COMPONENT_EXPORT(URL) extern const char kAboutBlankPath[];
  14. COMPONENT_EXPORT(URL) extern const char16_t kAboutBlankPath16[];
  15. COMPONENT_EXPORT(URL) extern const char kAboutSrcdocPath[];
  16. COMPONENT_EXPORT(URL) extern const char16_t kAboutSrcdocPath16[];
  17. COMPONENT_EXPORT(URL) extern const char kAboutScheme[];
  18. COMPONENT_EXPORT(URL) extern const char16_t kAboutScheme16[];
  19. COMPONENT_EXPORT(URL) extern const char kBlobScheme[];
  20. COMPONENT_EXPORT(URL) extern const char16_t kBlobScheme16[];
  21. // The content scheme is specific to Android for identifying a stored file.
  22. COMPONENT_EXPORT(URL) extern const char kContentScheme[];
  23. COMPONENT_EXPORT(URL) extern const char16_t kContentScheme16[];
  24. COMPONENT_EXPORT(URL) extern const char kContentIDScheme[];
  25. COMPONENT_EXPORT(URL) extern const char16_t kContentIDScheme16[];
  26. COMPONENT_EXPORT(URL) extern const char kDataScheme[];
  27. COMPONENT_EXPORT(URL) extern const char16_t kDataScheme16[];
  28. COMPONENT_EXPORT(URL) extern const char kFileScheme[];
  29. COMPONENT_EXPORT(URL) extern const char16_t kFileScheme16[];
  30. COMPONENT_EXPORT(URL) extern const char kFileSystemScheme[];
  31. COMPONENT_EXPORT(URL) extern const char16_t kFileSystemScheme16[];
  32. COMPONENT_EXPORT(URL) extern const char kFtpScheme[];
  33. COMPONENT_EXPORT(URL) extern const char16_t kFtpScheme16[];
  34. COMPONENT_EXPORT(URL) extern const char kHttpScheme[];
  35. COMPONENT_EXPORT(URL) extern const char16_t kHttpScheme16[];
  36. COMPONENT_EXPORT(URL) extern const char kHttpsScheme[];
  37. COMPONENT_EXPORT(URL) extern const char16_t kHttpsScheme16[];
  38. COMPONENT_EXPORT(URL) extern const char kJavaScriptScheme[];
  39. COMPONENT_EXPORT(URL) extern const char16_t kJavaScriptScheme16[];
  40. COMPONENT_EXPORT(URL) extern const char kMailToScheme[];
  41. COMPONENT_EXPORT(URL) extern const char16_t kMailToScheme16[];
  42. COMPONENT_EXPORT(URL) extern const char kQuicTransportScheme[];
  43. COMPONENT_EXPORT(URL) extern const char16_t kQuicTransportScheme16[];
  44. COMPONENT_EXPORT(URL) extern const char kTelScheme[];
  45. COMPONENT_EXPORT(URL) extern const char16_t kTelScheme16[];
  46. COMPONENT_EXPORT(URL) extern const char kUrnScheme[];
  47. COMPONENT_EXPORT(URL) extern const char16_t kUrnScheme16[];
  48. COMPONENT_EXPORT(URL) extern const char kUuidInPackageScheme[];
  49. COMPONENT_EXPORT(URL) extern const char16_t kUuidInPackageScheme16[];
  50. COMPONENT_EXPORT(URL) extern const char kWebcalScheme[];
  51. COMPONENT_EXPORT(URL) extern const char16_t kWebcalScheme16[];
  52. COMPONENT_EXPORT(URL) extern const char kWsScheme[];
  53. COMPONENT_EXPORT(URL) extern const char16_t kWsScheme16[];
  54. COMPONENT_EXPORT(URL) extern const char kWssScheme[];
  55. COMPONENT_EXPORT(URL) extern const char16_t kWssScheme16[];
  56. // Used to separate a standard scheme and the hostname: "://".
  57. COMPONENT_EXPORT(URL) extern const char kStandardSchemeSeparator[];
  58. COMPONENT_EXPORT(URL) extern const char16_t kStandardSchemeSeparator16[];
  59. COMPONENT_EXPORT(URL) extern const size_t kMaxURLChars;
  60. } // namespace url
  61. #endif // URL_URL_CONSTANTS_H_