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 "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 extern const char kChromeUISuggestionsInternalsURL[]; | 63 extern const char kChromeUISuggestionsInternalsURL[]; |
64 extern const char kChromeUISSLClientCertificateSelectorURL[]; | 64 extern const char kChromeUISSLClientCertificateSelectorURL[]; |
65 extern const char kChromeUISyncPromoURL[]; | 65 extern const char kChromeUISyncPromoURL[]; |
66 extern const char kChromeUITaskManagerURL[]; | 66 extern const char kChromeUITaskManagerURL[]; |
67 extern const char kChromeUITermsURL[]; | 67 extern const char kChromeUITermsURL[]; |
68 extern const char kChromeUIThumbnailURL[]; | 68 extern const char kChromeUIThumbnailURL[]; |
69 extern const char kChromeUIUberURL[]; | 69 extern const char kChromeUIUberURL[]; |
70 extern const char kChromeUIUberFrameURL[]; | 70 extern const char kChromeUIUberFrameURL[]; |
71 extern const char kChromeUIVersionURL[]; | 71 extern const char kChromeUIVersionURL[]; |
72 | 72 |
| 73 #if defined(OS_ANDROID) |
| 74 extern const char kChromeUIWelcomeURL[]; |
| 75 #endif |
| 76 |
73 #if defined(OS_CHROMEOS) | 77 #if defined(OS_CHROMEOS) |
74 extern const char kChromeUIActivationMessage[]; | 78 extern const char kChromeUIActivationMessage[]; |
75 extern const char kChromeUIChooseMobileNetworkURL[]; | 79 extern const char kChromeUIChooseMobileNetworkURL[]; |
76 extern const char kChromeUIDiagnosticsURL[]; | 80 extern const char kChromeUIDiagnosticsURL[]; |
77 extern const char kChromeUIDiscardsURL[]; | 81 extern const char kChromeUIDiscardsURL[]; |
78 extern const char kChromeUIIdleLogoutDialogURL[]; | 82 extern const char kChromeUIIdleLogoutDialogURL[]; |
79 extern const char kChromeUIImageBurnerURL[]; | 83 extern const char kChromeUIImageBurnerURL[]; |
80 extern const char kChromeUIKeyboardOverlayURL[]; | 84 extern const char kChromeUIKeyboardOverlayURL[]; |
81 extern const char kChromeUILockScreenURL[]; | 85 extern const char kChromeUILockScreenURL[]; |
82 extern const char kChromeUIMediaplayerURL[]; | 86 extern const char kChromeUIMediaplayerURL[]; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 extern const char kChromeUITouchIconHost[]; | 193 extern const char kChromeUITouchIconHost[]; |
190 extern const char kChromeUITracingHost[]; | 194 extern const char kChromeUITracingHost[]; |
191 extern const char kChromeUIUberFrameHost[]; | 195 extern const char kChromeUIUberFrameHost[]; |
192 extern const char kChromeUIUberHost[]; | 196 extern const char kChromeUIUberHost[]; |
193 extern const char kChromeUIVersionHost[]; | 197 extern const char kChromeUIVersionHost[]; |
194 extern const char kChromeUIWorkersHost[]; | 198 extern const char kChromeUIWorkersHost[]; |
195 | 199 |
196 extern const char kChromeUIScreenshotPath[]; | 200 extern const char kChromeUIScreenshotPath[]; |
197 extern const char kChromeUIThemePath[]; | 201 extern const char kChromeUIThemePath[]; |
198 | 202 |
| 203 #if defined(OS_ANDROID) |
| 204 extern const char kChromeUIWelcomeHost[]; |
| 205 #endif |
| 206 |
199 #if defined(OS_LINUX) || defined(OS_OPENBSD) | 207 #if defined(OS_LINUX) || defined(OS_OPENBSD) |
200 extern const char kChromeUILinuxProxyConfigHost[]; | 208 extern const char kChromeUILinuxProxyConfigHost[]; |
201 extern const char kChromeUISandboxHost[]; | 209 extern const char kChromeUISandboxHost[]; |
202 #endif | 210 #endif |
203 | 211 |
204 #if defined(OS_CHROMEOS) | 212 #if defined(OS_CHROMEOS) |
205 extern const char kChromeUIActivationMessageHost[]; | 213 extern const char kChromeUIActivationMessageHost[]; |
206 extern const char kChromeUIChooseMobileNetworkHost[]; | 214 extern const char kChromeUIChooseMobileNetworkHost[]; |
207 extern const char kChromeUICryptohomeHost[]; | 215 extern const char kChromeUICryptohomeHost[]; |
208 extern const char kChromeUIDiagnosticsHost[]; | 216 extern const char kChromeUIDiagnosticsHost[]; |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 | 391 |
384 // Canonical schemes you can use as input to GURL.SchemeIs(). | 392 // Canonical schemes you can use as input to GURL.SchemeIs(). |
385 extern const char kExtensionScheme[]; | 393 extern const char kExtensionScheme[]; |
386 | 394 |
387 // Canonical schemes you can use as input to GURL.SchemeIs(). | 395 // Canonical schemes you can use as input to GURL.SchemeIs(). |
388 extern const char kExtensionResourceScheme[]; | 396 extern const char kExtensionResourceScheme[]; |
389 | 397 |
390 #if defined(OS_CHROMEOS) | 398 #if defined(OS_CHROMEOS) |
391 extern const char kDriveScheme[]; | 399 extern const char kDriveScheme[]; |
392 #endif | 400 #endif |
| 401 |
393 #if defined(OS_ANDROID) | 402 #if defined(OS_ANDROID) |
394 extern const char kContentScheme[]; | 403 extern const char kContentScheme[]; |
395 // Special Android file paths. | 404 // Special Android file paths. |
396 extern const char kAndroidAssetPath[]; | 405 extern const char kAndroidAssetPath[]; |
397 extern const char kAndroidResourcePath[]; | 406 extern const char kAndroidResourcePath[]; |
398 #endif | 407 #endif |
399 | 408 |
400 #if defined(OS_CHROMEOS) | 409 #if defined(OS_CHROMEOS) |
401 // "Learn more" URL for the Cloud Print section under Options. | 410 // "Learn more" URL for the Cloud Print section under Options. |
402 extern const char kCloudPrintLearnMoreURL[]; | 411 extern const char kCloudPrintLearnMoreURL[]; |
403 #endif | 412 #endif |
404 | 413 |
405 } // namespace chrome | 414 } // namespace chrome |
406 | 415 |
407 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 416 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |