OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 6 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 | 9 |
10 // Contains constants for known URLs and portions thereof. | 10 // Contains constants for known URLs and portions thereof. |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
56 } // namespace chrome | 56 } // namespace chrome |
57 | 57 |
58 namespace content { | 58 namespace content { |
59 | 59 |
60 // Used to separate a standard scheme and the hostname: "://". | 60 // Used to separate a standard scheme and the hostname: "://". |
61 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; | 61 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; |
62 | 62 |
63 // Special URL used to start a navigation to an error page. | 63 // Special URL used to start a navigation to an error page. |
64 CONTENT_EXPORT extern const char kUnreachableWebDataURL[]; | 64 CONTENT_EXPORT extern const char kUnreachableWebDataURL[]; |
65 | 65 |
66 // Below are only used for Android. | |
67 extern const char kContentScheme[]; | |
68 extern const char kGeoScheme[]; | |
69 extern const char kTelScheme[]; | |
Sami
2012/07/26 15:12:32
Geo and Tel aren't part of content URLs so they sh
felipeg
2012/07/26 15:37:43
Done.
mkosiba (inactive)
2012/07/26 16:01:04
These are leftovers from an old URL intercepting i
felipeg
2012/07/26 16:28:50
I will update the downstream code in a new CL.
See
| |
70 // Special Android file paths. | |
71 extern const char kAndroidAssetPath[]; | |
72 extern const char kAndroidResourcePath[]; | |
73 | |
66 // Special URL used to swap out a view being rendered by another process. | 74 // Special URL used to swap out a view being rendered by another process. |
67 extern const char kSwappedOutURL[]; | 75 extern const char kSwappedOutURL[]; |
68 | 76 |
69 // Null terminated list of schemes that are savable. This function can be | 77 // Null terminated list of schemes that are savable. This function can be |
70 // invoked on any thread. | 78 // invoked on any thread. |
71 CONTENT_EXPORT const char* const* GetSavableSchemes(); | 79 CONTENT_EXPORT const char* const* GetSavableSchemes(); |
72 | 80 |
73 } // namespace content | 81 } // namespace content |
74 | 82 |
75 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 83 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |