| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_COMMON_URL_CONSTANTS_H_ | 7 #ifndef CHROME_COMMON_URL_CONSTANTS_H_ |
| 8 #define CHROME_COMMON_URL_CONSTANTS_H_ | 8 #define CHROME_COMMON_URL_CONSTANTS_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 extern const char kStandardSchemeSeparator[]; | 34 extern const char kStandardSchemeSeparator[]; |
| 35 | 35 |
| 36 // Null terminated list of schemes that are savable. | 36 // Null terminated list of schemes that are savable. |
| 37 extern const char* kSavableSchemes[]; | 37 extern const char* kSavableSchemes[]; |
| 38 | 38 |
| 39 // About URLs (including schemes). | 39 // About URLs (including schemes). |
| 40 extern const char kAboutAboutURL[]; | 40 extern const char kAboutAboutURL[]; |
| 41 extern const char kAboutAppCacheInternalsURL[]; | 41 extern const char kAboutAppCacheInternalsURL[]; |
| 42 extern const char kAboutBlankURL[]; | 42 extern const char kAboutBlankURL[]; |
| 43 extern const char kAboutBrowserCrash[]; | 43 extern const char kAboutBrowserCrash[]; |
| 44 extern const char kAboutConflicts[]; |
| 44 extern const char kAboutCacheURL[]; | 45 extern const char kAboutCacheURL[]; |
| 45 extern const char kAboutCrashURL[]; | 46 extern const char kAboutCrashURL[]; |
| 46 extern const char kAboutCreditsURL[]; | 47 extern const char kAboutCreditsURL[]; |
| 47 extern const char kAboutDNSURL[]; | 48 extern const char kAboutDNSURL[]; |
| 48 extern const char kAboutFlagsURL[]; | 49 extern const char kAboutFlagsURL[]; |
| 49 extern const char kAboutGpuCrashURL[]; | 50 extern const char kAboutGpuCrashURL[]; |
| 50 extern const char kAboutGpuHangURL[]; | 51 extern const char kAboutGpuHangURL[]; |
| 51 extern const char kAboutHangURL[]; | 52 extern const char kAboutHangURL[]; |
| 52 extern const char kAboutHistogramsURL[]; | 53 extern const char kAboutHistogramsURL[]; |
| 53 extern const char kAboutMemoryURL[]; | 54 extern const char kAboutMemoryURL[]; |
| 54 extern const char kAboutNetInternalsURL[]; | 55 extern const char kAboutNetInternalsURL[]; |
| 55 extern const char kAboutPluginsURL[]; | 56 extern const char kAboutPluginsURL[]; |
| 56 extern const char kAboutShorthangURL[]; | 57 extern const char kAboutShorthangURL[]; |
| 57 extern const char kAboutTermsURL[]; | 58 extern const char kAboutTermsURL[]; |
| 58 extern const char kAboutVaporwareURL[]; | 59 extern const char kAboutVaporwareURL[]; |
| 59 extern const char kAboutVersionURL[]; | 60 extern const char kAboutVersionURL[]; |
| 60 | 61 |
| 61 // chrome: URLs (including schemes). Should be kept in sync with the | 62 // chrome: URLs (including schemes). Should be kept in sync with the |
| 62 // components below. | 63 // components below. |
| 63 extern const char kChromeUIAboutAboutURL[]; | 64 extern const char kChromeUIAboutAboutURL[]; |
| 64 extern const char kChromeUIAboutURL[]; | 65 extern const char kChromeUIAboutURL[]; |
| 65 extern const char kChromeUIAppLauncherURL[]; | 66 extern const char kChromeUIAppLauncherURL[]; |
| 66 extern const char kChromeUIBookmarksURL[]; | 67 extern const char kChromeUIBookmarksURL[]; |
| 67 extern const char kChromeUIBugReportURL[]; | 68 extern const char kChromeUIBugReportURL[]; |
| 69 extern const char kChromeUIConflictsURL[]; |
| 68 extern const char kChromeUIConstrainedHTMLTestURL[]; | 70 extern const char kChromeUIConstrainedHTMLTestURL[]; |
| 69 extern const char kChromeUIDevToolsURL[]; | 71 extern const char kChromeUIDevToolsURL[]; |
| 70 extern const char kChromeUIDownloadsURL[]; | 72 extern const char kChromeUIDownloadsURL[]; |
| 71 extern const char kChromeUIExtensionsURL[]; | 73 extern const char kChromeUIExtensionsURL[]; |
| 72 extern const char kChromeUIFlagsURL[]; | 74 extern const char kChromeUIFlagsURL[]; |
| 73 extern const char kChromeUIFavIconURL[]; | 75 extern const char kChromeUIFavIconURL[]; |
| 74 extern const char kChromeUIHistory2URL[]; | 76 extern const char kChromeUIHistory2URL[]; |
| 75 extern const char kChromeUIHistoryURL[]; | 77 extern const char kChromeUIHistoryURL[]; |
| 76 extern const char kChromeUIIPCURL[]; | 78 extern const char kChromeUIIPCURL[]; |
| 77 extern const char kChromeUIKeyboardURL[]; | 79 extern const char kChromeUIKeyboardURL[]; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 89 extern const char kChromeUIMobileSetupURL[]; | 91 extern const char kChromeUIMobileSetupURL[]; |
| 90 extern const char kChromeUIRegisterPageURL[]; | 92 extern const char kChromeUIRegisterPageURL[]; |
| 91 extern const char kChromeUISlideshowURL[]; | 93 extern const char kChromeUISlideshowURL[]; |
| 92 extern const char kChromeUISystemInfoURL[]; | 94 extern const char kChromeUISystemInfoURL[]; |
| 93 #endif | 95 #endif |
| 94 | 96 |
| 95 // chrome components of URLs. Should be kept in sync with the full URLs | 97 // chrome components of URLs. Should be kept in sync with the full URLs |
| 96 // above. | 98 // above. |
| 97 extern const char kChromeUIBookmarksHost[]; | 99 extern const char kChromeUIBookmarksHost[]; |
| 98 extern const char kChromeUIBugReportHost[]; | 100 extern const char kChromeUIBugReportHost[]; |
| 101 extern const char kChromeUIConflictsHost[]; |
| 99 extern const char kChromeUIDevToolsHost[]; | 102 extern const char kChromeUIDevToolsHost[]; |
| 100 extern const char kChromeUIDialogHost[]; | 103 extern const char kChromeUIDialogHost[]; |
| 101 extern const char kChromeUIDownloadsHost[]; | 104 extern const char kChromeUIDownloadsHost[]; |
| 102 extern const char kChromeUIExtensionsHost[]; | 105 extern const char kChromeUIExtensionsHost[]; |
| 103 extern const char kChromeUIFavIconHost[]; | 106 extern const char kChromeUIFavIconHost[]; |
| 104 extern const char kChromeUIFlagsHost[]; | 107 extern const char kChromeUIFlagsHost[]; |
| 105 extern const char kChromeUIHistory2Host[]; | 108 extern const char kChromeUIHistory2Host[]; |
| 106 extern const char kChromeUIHistoryHost[]; | 109 extern const char kChromeUIHistoryHost[]; |
| 107 extern const char kChromeUIKeyboardHost[]; | 110 extern const char kChromeUIKeyboardHost[]; |
| 108 extern const char kChromeUINetInternalsHost[]; | 111 extern const char kChromeUINetInternalsHost[]; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 extern const char kSystemOptionsSubPage[]; | 170 extern const char kSystemOptionsSubPage[]; |
| 168 #endif | 171 #endif |
| 169 | 172 |
| 170 // Call near the beginning of startup to register Chrome's internal URLs that | 173 // Call near the beginning of startup to register Chrome's internal URLs that |
| 171 // should be parsed as "standard" with the googleurl library. | 174 // should be parsed as "standard" with the googleurl library. |
| 172 void RegisterChromeSchemes(); | 175 void RegisterChromeSchemes(); |
| 173 | 176 |
| 174 } // namespace chrome | 177 } // namespace chrome |
| 175 | 178 |
| 176 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 179 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |