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> |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 // 2. Browser: Assuming they got by #1, the scheme checks in | 484 // 2. Browser: Assuming they got by #1, the scheme checks in |
485 // URLDataSource::ShouldServiceRequest will deny the request, | 485 // URLDataSource::ShouldServiceRequest will deny the request, |
486 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource | 486 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource |
487 // there are additional Instant-PID checks that make sure the request is | 487 // there are additional Instant-PID checks that make sure the request is |
488 // coming from a blessed Instant process, and deny the request. | 488 // coming from a blessed Instant process, and deny the request. |
489 extern const char kChromeSearchScheme[]; | 489 extern const char kChromeSearchScheme[]; |
490 | 490 |
491 // Pages under chrome-search. | 491 // Pages under chrome-search. |
492 extern const char kChromeSearchLocalNtpHost[]; | 492 extern const char kChromeSearchLocalNtpHost[]; |
493 extern const char kChromeSearchLocalNtpUrl[]; | 493 extern const char kChromeSearchLocalNtpUrl[]; |
494 extern const char kChromeSearchOnlineNtpHost[]; | 494 extern const char kChromeSearchRemoteNtpHost[]; |
495 | 495 |
496 // Host and URL for most visited iframes used on the Instant Extended NTP. | 496 // Host and URL for most visited iframes used on the Instant Extended NTP. |
497 extern const char kChromeSearchMostVisitedHost[]; | 497 extern const char kChromeSearchMostVisitedHost[]; |
498 extern const char kChromeSearchMostVisitedUrl[]; | 498 extern const char kChromeSearchMostVisitedUrl[]; |
499 | 499 |
500 #if defined(OS_CHROMEOS) | 500 #if defined(OS_CHROMEOS) |
501 extern const char kCrosScheme[]; | 501 extern const char kCrosScheme[]; |
502 extern const char kDriveScheme[]; | 502 extern const char kDriveScheme[]; |
503 #endif | 503 #endif |
504 | 504 |
(...skipping 17 matching lines...) Expand all Loading... |
522 extern const char kLanguageSettingsLearnMoreUrl[]; | 522 extern const char kLanguageSettingsLearnMoreUrl[]; |
523 | 523 |
524 #if defined(OS_MACOSX) | 524 #if defined(OS_MACOSX) |
525 // The URL for the 32-bit Mac deprecation help center article | 525 // The URL for the 32-bit Mac deprecation help center article |
526 extern const char kMac32BitDeprecationURL[]; | 526 extern const char kMac32BitDeprecationURL[]; |
527 #endif | 527 #endif |
528 | 528 |
529 } // namespace chrome | 529 } // namespace chrome |
530 | 530 |
531 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 531 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |