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 #ifndef URL_URL_CONSTANTS_H_ | 5 #ifndef URL_URL_CONSTANTS_H_ |
6 #define URL_URL_CONSTANTS_H_ | 6 #define URL_URL_CONSTANTS_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "url/url_export.h" | 10 #include "url/url_export.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 URL_EXPORT extern const char kFileSystemScheme[]; | 23 URL_EXPORT extern const char kFileSystemScheme[]; |
24 URL_EXPORT extern const char kFtpScheme[]; | 24 URL_EXPORT extern const char kFtpScheme[]; |
25 URL_EXPORT extern const char kGopherScheme[]; | 25 URL_EXPORT extern const char kGopherScheme[]; |
26 URL_EXPORT extern const char kHttpScheme[]; | 26 URL_EXPORT extern const char kHttpScheme[]; |
27 URL_EXPORT extern const char kHttpsScheme[]; | 27 URL_EXPORT extern const char kHttpsScheme[]; |
28 URL_EXPORT extern const char kJavaScriptScheme[]; | 28 URL_EXPORT extern const char kJavaScriptScheme[]; |
29 URL_EXPORT extern const char kMailToScheme[]; | 29 URL_EXPORT extern const char kMailToScheme[]; |
30 URL_EXPORT extern const char kWsScheme[]; | 30 URL_EXPORT extern const char kWsScheme[]; |
31 URL_EXPORT extern const char kWssScheme[]; | 31 URL_EXPORT extern const char kWssScheme[]; |
32 | 32 |
| 33 // Special HTTP and HTTPS schemes for serialization of suborigins. See |
| 34 // https://w3c.github.io/webappsec-suborigins/. |
| 35 URL_EXPORT extern const char kHttpSuboriginScheme[]; |
| 36 URL_EXPORT extern const char kHttpsSuboriginScheme[]; |
| 37 |
33 // Used to separate a standard scheme and the hostname: "://". | 38 // Used to separate a standard scheme and the hostname: "://". |
34 URL_EXPORT extern const char kStandardSchemeSeparator[]; | 39 URL_EXPORT extern const char kStandardSchemeSeparator[]; |
35 | 40 |
36 URL_EXPORT extern const size_t kMaxURLChars; | 41 URL_EXPORT extern const size_t kMaxURLChars; |
37 | 42 |
38 } // namespace url | 43 } // namespace url |
39 | 44 |
40 #endif // URL_URL_CONSTANTS_H_ | 45 #endif // URL_URL_CONSTANTS_H_ |
OLD | NEW |