Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Contains constants for known URLs and portions thereof. | 5 // Contains constants for known URLs and portions thereof. |
| 6 | 6 |
| 7 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 7 #ifndef CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
| 8 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 8 #define CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 CONTENT_EXPORT extern const char kJavaScriptScheme[]; | 34 CONTENT_EXPORT extern const char kJavaScriptScheme[]; |
| 35 CONTENT_EXPORT extern const char kMailToScheme[]; | 35 CONTENT_EXPORT extern const char kMailToScheme[]; |
| 36 CONTENT_EXPORT extern const char kMetadataScheme[]; | 36 CONTENT_EXPORT extern const char kMetadataScheme[]; |
| 37 CONTENT_EXPORT extern const char kViewSourceScheme[]; | 37 CONTENT_EXPORT extern const char kViewSourceScheme[]; |
| 38 | 38 |
| 39 // Used to separate a standard scheme and the hostname: "://". | 39 // Used to separate a standard scheme and the hostname: "://". |
| 40 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; | 40 CONTENT_EXPORT extern const char kStandardSchemeSeparator[]; |
| 41 | 41 |
| 42 // About URLs (including schemes). | 42 // About URLs (including schemes). |
| 43 CONTENT_EXPORT extern const char kAboutBlankURL[]; | 43 CONTENT_EXPORT extern const char kAboutBlankURL[]; |
| 44 CONTENT_EXPORT extern const char kAboutCrashURL[]; | 44 CONTENT_EXPORT extern const char kChromeUIBrowserCrashHost[]; |
|
Elliot Glaysher
2012/02/08 01:06:35
As long as you don't mind "chrome" in these names.
jam
2012/02/08 01:20:14
i was a bit hesitant. these urls are testing conte
Avi (use Gerrit)
2012/02/08 03:46:41
Sure, though the scheme used doesn't affect what c
| |
| 45 CONTENT_EXPORT extern const char kChromeUICrashURL[]; | |
| 46 CONTENT_EXPORT extern const char kChromeUIGpuCleanURL[]; | |
| 47 CONTENT_EXPORT extern const char kChromeUIGpuCrashURL[]; | |
| 48 CONTENT_EXPORT extern const char kChromeUIGpuHangURL[]; | |
| 49 CONTENT_EXPORT extern const char kChromeUIHangURL[]; | |
| 50 CONTENT_EXPORT extern const char kChromeUIKillURL[]; | |
| 51 CONTENT_EXPORT extern const char kChromeUIShorthangURL[]; | |
| 45 | 52 |
| 46 // Special URL used to start a navigation to an error page. | 53 // Special URL used to start a navigation to an error page. |
| 47 extern const char kUnreachableWebDataURL[]; | 54 extern const char kUnreachableWebDataURL[]; |
| 48 | 55 |
| 49 // Call near the beginning of startup to register the content layer's internal | 56 // Call near the beginning of startup to register the content layer's internal |
| 50 // URLs that should be parsed as "standard" with the googleurl library. The | 57 // URLs that should be parsed as "standard" with the googleurl library. The |
| 51 // embedder can pass a 0-terminated list of additional schemes that should be | 58 // embedder can pass a 0-terminated list of additional schemes that should be |
| 52 // savable, or NULL if the standard list is sufficient. | 59 // savable, or NULL if the standard list is sufficient. |
| 53 CONTENT_EXPORT void RegisterContentSchemes( | 60 CONTENT_EXPORT void RegisterContentSchemes( |
| 54 const char** additional_savable_schemes); | 61 const char** additional_savable_schemes); |
| 55 | 62 |
| 56 } // namespace chrome | 63 } // namespace chrome |
| 57 | 64 |
| 58 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ | 65 #endif // CONTENT_PUBLIC_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |