| 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 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 // chrome: URLs (including schemes). Should be kept in sync with the | 66 // chrome: URLs (including schemes). Should be kept in sync with the |
| 67 // components below. | 67 // components below. |
| 68 extern const char kChromeUIAboutAboutURL[]; | 68 extern const char kChromeUIAboutAboutURL[]; |
| 69 extern const char kChromeUIAboutCreditsURL[]; | 69 extern const char kChromeUIAboutCreditsURL[]; |
| 70 extern const char kChromeUIAboutURL[]; | 70 extern const char kChromeUIAboutURL[]; |
| 71 extern const char kChromeUIAppLauncherURL[]; | 71 extern const char kChromeUIAppLauncherURL[]; |
| 72 extern const char kChromeUIBookmarksURL[]; | 72 extern const char kChromeUIBookmarksURL[]; |
| 73 extern const char kChromeUIBugReportURL[]; | 73 extern const char kChromeUIBugReportURL[]; |
| 74 extern const char kChromeUIConflictsURL[]; | 74 extern const char kChromeUIConflictsURL[]; |
| 75 extern const char kChromeUICollectedCookiesURL[]; |
| 75 extern const char kChromeUIConstrainedHTMLTestURL[]; | 76 extern const char kChromeUIConstrainedHTMLTestURL[]; |
| 76 extern const char kChromeUICrashesURL[]; | 77 extern const char kChromeUICrashesURL[]; |
| 77 extern const char kChromeUIDevToolsURL[]; | 78 extern const char kChromeUIDevToolsURL[]; |
| 78 extern const char kChromeUIDownloadsURL[]; | 79 extern const char kChromeUIDownloadsURL[]; |
| 79 extern const char kChromeUIExtensionIconURL[]; | 80 extern const char kChromeUIExtensionIconURL[]; |
| 80 extern const char kChromeUIExtensionsURL[]; | 81 extern const char kChromeUIExtensionsURL[]; |
| 81 extern const char kChromeUIFlagsURL[]; | 82 extern const char kChromeUIFlagsURL[]; |
| 82 extern const char kChromeUIFavIconURL[]; | 83 extern const char kChromeUIFavIconURL[]; |
| 83 extern const char kChromeUIHistory2URL[]; | 84 extern const char kChromeUIHistory2URL[]; |
| 84 extern const char kChromeUIHistoryURL[]; | 85 extern const char kChromeUIHistoryURL[]; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 103 extern const char kChromeUISystemInfoURL[]; | 104 extern const char kChromeUISystemInfoURL[]; |
| 104 extern const char kChromeUIUserImageURL[]; | 105 extern const char kChromeUIUserImageURL[]; |
| 105 #endif | 106 #endif |
| 106 | 107 |
| 107 // chrome components of URLs. Should be kept in sync with the full URLs | 108 // chrome components of URLs. Should be kept in sync with the full URLs |
| 108 // above. | 109 // above. |
| 109 extern const char kChromeUIBookmarksHost[]; | 110 extern const char kChromeUIBookmarksHost[]; |
| 110 extern const char kChromeUIBugReportHost[]; | 111 extern const char kChromeUIBugReportHost[]; |
| 111 extern const char kChromeUIConflictsHost[]; | 112 extern const char kChromeUIConflictsHost[]; |
| 112 extern const char kChromeUICrashesHost[]; | 113 extern const char kChromeUICrashesHost[]; |
| 114 extern const char kChromeUICollectedCookiesHost[]; |
| 113 extern const char kChromeUIDevToolsHost[]; | 115 extern const char kChromeUIDevToolsHost[]; |
| 114 extern const char kChromeUIDialogHost[]; | 116 extern const char kChromeUIDialogHost[]; |
| 115 extern const char kChromeUIDownloadsHost[]; | 117 extern const char kChromeUIDownloadsHost[]; |
| 116 extern const char kChromeUIExtensionIconHost[]; | 118 extern const char kChromeUIExtensionIconHost[]; |
| 117 extern const char kChromeUIExtensionsHost[]; | 119 extern const char kChromeUIExtensionsHost[]; |
| 118 extern const char kChromeUIFavIconHost[]; | 120 extern const char kChromeUIFavIconHost[]; |
| 119 extern const char kChromeUIFlagsHost[]; | 121 extern const char kChromeUIFlagsHost[]; |
| 120 extern const char kChromeUIGpuInternalsHost[]; | 122 extern const char kChromeUIGpuInternalsHost[]; |
| 121 extern const char kChromeUIHistory2Host[]; | 123 extern const char kChromeUIHistory2Host[]; |
| 122 extern const char kChromeUIHistoryHost[]; | 124 extern const char kChromeUIHistoryHost[]; |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 // The URL for the "Learn more" page for the blocked/outdated plugin infobar. | 224 // The URL for the "Learn more" page for the blocked/outdated plugin infobar. |
| 223 extern const char kOutdatedPluginLearnMoreURL[]; | 225 extern const char kOutdatedPluginLearnMoreURL[]; |
| 224 | 226 |
| 225 // Call near the beginning of startup to register Chrome's internal URLs that | 227 // Call near the beginning of startup to register Chrome's internal URLs that |
| 226 // should be parsed as "standard" with the googleurl library. | 228 // should be parsed as "standard" with the googleurl library. |
| 227 void RegisterChromeSchemes(); | 229 void RegisterChromeSchemes(); |
| 228 | 230 |
| 229 } // namespace chrome | 231 } // namespace chrome |
| 230 | 232 |
| 231 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 233 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |