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" |
11 | 11 |
12 namespace url { | 12 namespace url { |
13 | 13 |
14 URL_EXPORT extern const char kAboutBlankURL[]; | 14 URL_EXPORT extern const char kAboutBlankURL[]; |
15 | 15 |
16 URL_EXPORT extern const char kAboutScheme[]; | 16 URL_EXPORT extern const char kAboutScheme[]; |
17 URL_EXPORT extern const char kBlobScheme[]; | 17 URL_EXPORT extern const char kBlobScheme[]; |
18 // The content scheme is specific to Android for identifying a stored file. | 18 // The content scheme is specific to Android for identifying a stored file. |
19 URL_EXPORT extern const char kContentScheme[]; | 19 URL_EXPORT extern const char kContentScheme[]; |
20 URL_EXPORT extern const char kContentIDScheme[]; | 20 URL_EXPORT extern const char kContentIDScheme[]; |
21 URL_EXPORT extern const char kDataScheme[]; | 21 URL_EXPORT extern const char kDataScheme[]; |
22 URL_EXPORT extern const char kFileScheme[]; | 22 URL_EXPORT extern const char kFileScheme[]; |
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 kHttpSuboriginScheme[]; | |
27 URL_EXPORT extern const char kHttpsScheme[]; | 28 URL_EXPORT extern const char kHttpsScheme[]; |
29 URL_EXPORT extern const char kHttpsSuboriginScheme[]; | |
Mike West
2016/09/13 18:00:18
I don't think it's a good idea to let these live i
jww
2016/09/13 18:36:04
Aren't blob:, javascript:, and filesystem also pla
| |
28 URL_EXPORT extern const char kJavaScriptScheme[]; | 30 URL_EXPORT extern const char kJavaScriptScheme[]; |
29 URL_EXPORT extern const char kMailToScheme[]; | 31 URL_EXPORT extern const char kMailToScheme[]; |
30 URL_EXPORT extern const char kWsScheme[]; | 32 URL_EXPORT extern const char kWsScheme[]; |
31 URL_EXPORT extern const char kWssScheme[]; | 33 URL_EXPORT extern const char kWssScheme[]; |
32 | 34 |
33 // Used to separate a standard scheme and the hostname: "://". | 35 // Used to separate a standard scheme and the hostname: "://". |
34 URL_EXPORT extern const char kStandardSchemeSeparator[]; | 36 URL_EXPORT extern const char kStandardSchemeSeparator[]; |
35 | 37 |
36 URL_EXPORT extern const size_t kMaxURLChars; | 38 URL_EXPORT extern const size_t kMaxURLChars; |
37 | 39 |
38 } // namespace url | 40 } // namespace url |
39 | 41 |
40 #endif // URL_URL_CONSTANTS_H_ | 42 #endif // URL_URL_CONSTANTS_H_ |
OLD | NEW |