OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "url/url_constants.h" | 5 #include "url/url_constants.h" |
6 | 6 |
7 namespace url { | 7 namespace url { |
8 | 8 |
9 const char kAboutBlankURL[] = "about:blank"; | 9 const char kAboutBlankURL[] = "about:blank"; |
10 | 10 |
| 11 const char kAboutBlankPath[] = "blank"; |
| 12 const char kAboutBlankWithHashPath[] = "blank/"; |
| 13 |
11 const char kAboutScheme[] = "about"; | 14 const char kAboutScheme[] = "about"; |
12 const char kBlobScheme[] = "blob"; | 15 const char kBlobScheme[] = "blob"; |
13 const char kContentScheme[] = "content"; | 16 const char kContentScheme[] = "content"; |
14 const char kContentIDScheme[] = "cid"; | 17 const char kContentIDScheme[] = "cid"; |
15 const char kDataScheme[] = "data"; | 18 const char kDataScheme[] = "data"; |
16 const char kFileScheme[] = "file"; | 19 const char kFileScheme[] = "file"; |
17 const char kFileSystemScheme[] = "filesystem"; | 20 const char kFileSystemScheme[] = "filesystem"; |
18 const char kFtpScheme[] = "ftp"; | 21 const char kFtpScheme[] = "ftp"; |
19 const char kGopherScheme[] = "gopher"; | 22 const char kGopherScheme[] = "gopher"; |
20 const char kHttpScheme[] = "http"; | 23 const char kHttpScheme[] = "http"; |
21 const char kHttpsScheme[] = "https"; | 24 const char kHttpsScheme[] = "https"; |
22 const char kJavaScriptScheme[] = "javascript"; | 25 const char kJavaScriptScheme[] = "javascript"; |
23 const char kMailToScheme[] = "mailto"; | 26 const char kMailToScheme[] = "mailto"; |
24 const char kWsScheme[] = "ws"; | 27 const char kWsScheme[] = "ws"; |
25 const char kWssScheme[] = "wss"; | 28 const char kWssScheme[] = "wss"; |
26 | 29 |
27 const char kHttpSuboriginScheme[] = "http-so"; | 30 const char kHttpSuboriginScheme[] = "http-so"; |
28 const char kHttpsSuboriginScheme[] = "https-so"; | 31 const char kHttpsSuboriginScheme[] = "https-so"; |
29 | 32 |
30 const char kStandardSchemeSeparator[] = "://"; | 33 const char kStandardSchemeSeparator[] = "://"; |
31 | 34 |
32 const size_t kMaxURLChars = 2 * 1024 * 1024; | 35 const size_t kMaxURLChars = 2 * 1024 * 1024; |
33 | 36 |
34 } // namespace url | 37 } // namespace url |
OLD | NEW |