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.
5 #include "url/url_constants.h"
9 const char kAboutBlankURL[] = "about:blank";
10 const char16_t kAboutBlankURL16[] = u"about:blank";
11 const char kAboutSrcdocURL[] = "about:srcdoc";
12 const char16_t kAboutSrcdocURL16[] = u"about:srcdoc";
14 const char kAboutBlankPath[] = "blank";
15 const char16_t kAboutBlankPath16[] = u"blank";
16 const char kAboutSrcdocPath[] = "srcdoc";
17 const char16_t kAboutSrcdocPath16[] = u"srcdoc";
19 const char kAboutScheme[] = "about";
20 const char16_t kAboutScheme16[] = u"about";
21 const char kBlobScheme[] = "blob";
22 const char16_t kBlobScheme16[] = u"blob";
23 const char kContentScheme[] = "content";
24 const char16_t kContentScheme16[] = u"content";
25 const char kContentIDScheme[] = "cid";
26 const char16_t kContentIDScheme16[] = u"cid";
27 const char kDataScheme[] = "data";
28 const char16_t kDataScheme16[] = u"data";
29 const char kFileScheme[] = "file";
30 const char16_t kFileScheme16[] = u"file";
31 const char kFileSystemScheme[] = "filesystem";
32 const char16_t kFileSystemScheme16[] = u"filesystem";
33 const char kFtpScheme[] = "ftp";
34 const char16_t kFtpScheme16[] = u"ftp";
35 const char kHttpScheme[] = "http";
36 const char16_t kHttpScheme16[] = u"http";
37 const char kHttpsScheme[] = "https";
38 const char16_t kHttpsScheme16[] = u"https";
39 const char kJavaScriptScheme[] = "javascript";
40 const char16_t kJavaScriptScheme16[] = u"javascript";
41 const char kMailToScheme[] = "mailto";
42 const char16_t kMailToScheme16[] = u"mailto";
43 const char kTelScheme[] = "tel";
44 const char16_t kTelScheme16[] = u"tel";
45 const char kUrnScheme[] = "urn";
46 const char16_t kUrnScheme16[] = u"urn";
47 const char kUuidInPackageScheme[] = "uuid-in-package";
48 const char16_t kUuidInPackageScheme16[] = u"uuid-in-package";
49 const char kWebcalScheme[] = "webcal";
50 const char16_t kWebcalScheme16[] = u"webcal";
51 const char kWsScheme[] = "ws";
52 const char16_t kWsScheme16[] = u"ws";
53 const char kWssScheme[] = "wss";
54 const char16_t kWssScheme16[] = u"wss";
55 #if BUILDFLAG(IS_TIZEN_TV)
56 const char kCIScheme[] = "ci";
57 const char16_t kCIScheme16[] = u"ci";
58 const char kDvbScheme[] = "dvb";
59 const char16_t kDvbScheme16[] = u"dvb";
60 const char kHbbTVCarouselScheme[] = "hbbtv-carousel";
61 const char16_t kHbbTVCarouselScheme16[] = u"hbbtv-carousel";
62 const char kMmfScheme[] = "mmf";
63 const char16_t kMmfScheme16[] = u"mmf";
64 const char kOpAppScheme[] = "hbbtv-package";
65 const char16_t kOpAppScheme16[] = u"hbbtv-package";
66 const char kTVKeyScheme[] = "tvkey-apps";
67 const char16_t kTVKeyScheme16[] = u"tvkey-apps";
70 const char kStandardSchemeSeparator[] = "://";
71 const char16_t kStandardSchemeSeparator16[] = u"://";
73 const size_t kMaxURLChars = 2 * 1024 * 1024;