Upload upstream chromium 85.0.4183.84
[platform/framework/web/chromium-efl.git] / url / url_constants.cc
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
5 #include "url/url_constants.h"
6
7 namespace url {
8
9 const char kAboutBlankURL[] = "about:blank";
10 const char kAboutSrcdocURL[] = "about:srcdoc";
11
12 const char kAboutBlankPath[] = "blank";
13 const char kAboutSrcdocPath[] = "srcdoc";
14
15 const char kAboutScheme[] = "about";
16 const char kBlobScheme[] = "blob";
17 const char kContentScheme[] = "content";
18 const char kContentIDScheme[] = "cid";
19 const char kDataScheme[] = "data";
20 const char kFileScheme[] = "file";
21 const char kFileSystemScheme[] = "filesystem";
22 const char kFtpScheme[] = "ftp";
23 const char kHttpScheme[] = "http";
24 const char kHttpsScheme[] = "https";
25 const char kJavaScriptScheme[] = "javascript";
26 const char kMailToScheme[] = "mailto";
27 // This is for QuicTransport (https://wicg.github.io/web-transport/).
28 // See also: https://www.iana.org/assignments/uri-schemes/prov/quic-transport
29 const char kQuicTransportScheme[] = "quic-transport";
30 const char kTelScheme[] = "tel";
31 const char kWsScheme[] = "ws";
32 const char kWssScheme[] = "wss";
33
34 const char kStandardSchemeSeparator[] = "://";
35
36 const size_t kMaxURLChars = 2 * 1024 * 1024;
37
38 }  // namespace url