• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef URL_URL_CONSTANTS_H_
6 #define URL_URL_CONSTANTS_H_
7 
8 #include <stddef.h>
9 
10 #include "base/component_export.h"
11 
12 namespace url {
13 
14 COMPONENT_EXPORT(URL) extern const char kAboutBlankURL[];
15 COMPONENT_EXPORT(URL) extern const char16_t kAboutBlankURL16[];
16 COMPONENT_EXPORT(URL) extern const char kAboutSrcdocURL[];
17 COMPONENT_EXPORT(URL) extern const char16_t kAboutSrcdocURL16[];
18 
19 COMPONENT_EXPORT(URL) extern const char kAboutBlankPath[];
20 COMPONENT_EXPORT(URL) extern const char16_t kAboutBlankPath16[];
21 COMPONENT_EXPORT(URL) extern const char kAboutSrcdocPath[];
22 COMPONENT_EXPORT(URL) extern const char16_t kAboutSrcdocPath16[];
23 
24 COMPONENT_EXPORT(URL) extern const char kAboutScheme[];
25 COMPONENT_EXPORT(URL) extern const char16_t kAboutScheme16[];
26 COMPONENT_EXPORT(URL) extern const char kBlobScheme[];
27 COMPONENT_EXPORT(URL) extern const char16_t kBlobScheme16[];
28 // The content scheme is specific to Android for identifying a stored file.
29 COMPONENT_EXPORT(URL) extern const char kContentScheme[];
30 COMPONENT_EXPORT(URL) extern const char16_t kContentScheme16[];
31 COMPONENT_EXPORT(URL) extern const char kContentIDScheme[];
32 COMPONENT_EXPORT(URL) extern const char16_t kContentIDScheme16[];
33 COMPONENT_EXPORT(URL) extern const char kDataScheme[];
34 COMPONENT_EXPORT(URL) extern const char16_t kDataScheme16[];
35 COMPONENT_EXPORT(URL) extern const char kFileScheme[];
36 COMPONENT_EXPORT(URL) extern const char16_t kFileScheme16[];
37 COMPONENT_EXPORT(URL) extern const char kFileSystemScheme[];
38 COMPONENT_EXPORT(URL) extern const char16_t kFileSystemScheme16[];
39 COMPONENT_EXPORT(URL) extern const char kFtpScheme[];
40 COMPONENT_EXPORT(URL) extern const char16_t kFtpScheme16[];
41 COMPONENT_EXPORT(URL) extern const char kHttpScheme[];
42 COMPONENT_EXPORT(URL) extern const char16_t kHttpScheme16[];
43 COMPONENT_EXPORT(URL) extern const char kHttpsScheme[];
44 COMPONENT_EXPORT(URL) extern const char16_t kHttpsScheme16[];
45 COMPONENT_EXPORT(URL) extern const char kJavaScriptScheme[];
46 COMPONENT_EXPORT(URL) extern const char16_t kJavaScriptScheme16[];
47 COMPONENT_EXPORT(URL) extern const char kMailToScheme[];
48 COMPONENT_EXPORT(URL) extern const char16_t kMailToScheme16[];
49 COMPONENT_EXPORT(URL) extern const char kTelScheme[];
50 COMPONENT_EXPORT(URL) extern const char16_t kTelScheme16[];
51 COMPONENT_EXPORT(URL) extern const char kUrnScheme[];
52 COMPONENT_EXPORT(URL) extern const char16_t kUrnScheme16[];
53 COMPONENT_EXPORT(URL) extern const char kUuidInPackageScheme[];
54 COMPONENT_EXPORT(URL) extern const char16_t kUuidInPackageScheme16[];
55 COMPONENT_EXPORT(URL) extern const char kWebcalScheme[];
56 COMPONENT_EXPORT(URL) extern const char16_t kWebcalScheme16[];
57 COMPONENT_EXPORT(URL) extern const char kWsScheme[];
58 COMPONENT_EXPORT(URL) extern const char16_t kWsScheme16[];
59 COMPONENT_EXPORT(URL) extern const char kWssScheme[];
60 COMPONENT_EXPORT(URL) extern const char16_t kWssScheme16[];
61 
62 // Used to separate a standard scheme and the hostname: "://".
63 COMPONENT_EXPORT(URL) extern const char kStandardSchemeSeparator[];
64 COMPONENT_EXPORT(URL) extern const char16_t kStandardSchemeSeparator16[];
65 
66 COMPONENT_EXPORT(URL) extern const size_t kMaxURLChars;
67 
68 }  // namespace url
69 
70 #endif  // URL_URL_CONSTANTS_H_
71