| 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 // 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 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "content/public/common/url_constants.h" | 14 #include "content/public/common/url_constants.h" |
| 15 | 15 |
| 16 namespace chrome { | 16 namespace chrome { |
| 17 | 17 |
| 18 // chrome: URLs (including schemes). Should be kept in sync with the | 18 // chrome: URLs (including schemes). Should be kept in sync with the |
| 19 // components below. | 19 // components below. |
| 20 extern const char kChromeUIAboutURL[]; | 20 extern const char kChromeUIAboutURL[]; |
| 21 extern const char kChromeUIAppsURL[]; | 21 extern const char kChromeUIAppsURL[]; |
| 22 extern const char kChromeUIAppListStartPageURL[]; | 22 extern const char kChromeUIAppListStartPageURL[]; |
| 23 extern const char kChromeUIBigIconURL[]; |
| 23 extern const char kChromeUIBookmarksURL[]; | 24 extern const char kChromeUIBookmarksURL[]; |
| 24 extern const char kChromeUICertificateViewerURL[]; | 25 extern const char kChromeUICertificateViewerURL[]; |
| 25 extern const char kChromeUICertificateViewerDialogURL[]; | 26 extern const char kChromeUICertificateViewerDialogURL[]; |
| 26 extern const char kChromeUIChromeSigninURL[]; | 27 extern const char kChromeUIChromeSigninURL[]; |
| 27 extern const char kChromeUIChromeURLsURL[]; | 28 extern const char kChromeUIChromeURLsURL[]; |
| 28 extern const char kChromeUICloudPrintResourcesURL[]; | 29 extern const char kChromeUICloudPrintResourcesURL[]; |
| 29 extern const char kChromeUIComponentsURL[]; | 30 extern const char kChromeUIComponentsURL[]; |
| 30 extern const char kChromeUIConflictsURL[]; | 31 extern const char kChromeUIConflictsURL[]; |
| 31 extern const char kChromeUIConstrainedHTMLTestURL[]; | 32 extern const char kChromeUIConstrainedHTMLTestURL[]; |
| 32 extern const char kChromeUIContextualSearchPromoURL[]; | 33 extern const char kChromeUIContextualSearchPromoURL[]; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 extern const char kChromeUICopresenceHost[]; | 141 extern const char kChromeUICopresenceHost[]; |
| 141 #endif | 142 #endif |
| 142 | 143 |
| 143 #if defined(ENABLE_WEBRTC) | 144 #if defined(ENABLE_WEBRTC) |
| 144 extern const char kChromeUIWebRtcLogsURL[]; | 145 extern const char kChromeUIWebRtcLogsURL[]; |
| 145 #endif | 146 #endif |
| 146 | 147 |
| 147 // chrome components of URLs. Should be kept in sync with the full URLs above. | 148 // chrome components of URLs. Should be kept in sync with the full URLs above. |
| 148 extern const char kChromeUIAboutHost[]; | 149 extern const char kChromeUIAboutHost[]; |
| 149 extern const char kChromeUIAboutPageFrameHost[]; | 150 extern const char kChromeUIAboutPageFrameHost[]; |
| 151 extern const char kChromeUIBigIconHost[]; |
| 150 extern const char kChromeUIBlankHost[]; | 152 extern const char kChromeUIBlankHost[]; |
| 151 extern const char kChromeUIAppLauncherPageHost[]; | 153 extern const char kChromeUIAppLauncherPageHost[]; |
| 152 extern const char kChromeUIAppListStartPageHost[]; | 154 extern const char kChromeUIAppListStartPageHost[]; |
| 153 extern const char kChromeUIBookmarksHost[]; | 155 extern const char kChromeUIBookmarksHost[]; |
| 154 extern const char kChromeUICacheHost[]; | 156 extern const char kChromeUICacheHost[]; |
| 155 extern const char kChromeUICertificateViewerHost[]; | 157 extern const char kChromeUICertificateViewerHost[]; |
| 156 extern const char kChromeUICertificateViewerDialogHost[]; | 158 extern const char kChromeUICertificateViewerDialogHost[]; |
| 157 extern const char kChromeUIChromeSigninHost[]; | 159 extern const char kChromeUIChromeSigninHost[]; |
| 158 extern const char kChromeUIChromeURLsHost[]; | 160 extern const char kChromeUIChromeURLsHost[]; |
| 159 extern const char kChromeUICloudPrintResourcesHost[]; | 161 extern const char kChromeUICloudPrintResourcesHost[]; |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 // The URL for the 32-bit Mac deprecation help center article | 556 // The URL for the 32-bit Mac deprecation help center article |
| 555 extern const char kMac32BitDeprecationURL[]; | 557 extern const char kMac32BitDeprecationURL[]; |
| 556 #endif | 558 #endif |
| 557 | 559 |
| 558 // The URL for the "Learn more" link the the Easy Unlock settings. | 560 // The URL for the "Learn more" link the the Easy Unlock settings. |
| 559 extern const char kEasyUnlockLearnMoreUrl[]; | 561 extern const char kEasyUnlockLearnMoreUrl[]; |
| 560 | 562 |
| 561 } // namespace chrome | 563 } // namespace chrome |
| 562 | 564 |
| 563 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 565 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |