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 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 // 2. Browser: Assuming they got by #1, the scheme checks in | 475 // 2. Browser: Assuming they got by #1, the scheme checks in |
476 // URLDataSource::ShouldServiceRequest will deny the request, | 476 // URLDataSource::ShouldServiceRequest will deny the request, |
477 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource | 477 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource |
478 // there are additional Instant-PID checks that make sure the request is | 478 // there are additional Instant-PID checks that make sure the request is |
479 // coming from a blessed Instant process, and deny the request. | 479 // coming from a blessed Instant process, and deny the request. |
480 extern const char kChromeSearchScheme[]; | 480 extern const char kChromeSearchScheme[]; |
481 | 481 |
482 // Pages under chrome-search. | 482 // Pages under chrome-search. |
483 extern const char kChromeSearchLocalNtpHost[]; | 483 extern const char kChromeSearchLocalNtpHost[]; |
484 extern const char kChromeSearchLocalNtpUrl[]; | 484 extern const char kChromeSearchLocalNtpUrl[]; |
485 extern const char kChromeSearchOnlineNtpHost[]; | 485 extern const char kChromeSearchRemoteNtpHost[]; |
486 | 486 |
487 // Host and URL for most visited iframes used on the Instant Extended NTP. | 487 // Host and URL for most visited iframes used on the Instant Extended NTP. |
488 extern const char kChromeSearchMostVisitedHost[]; | 488 extern const char kChromeSearchMostVisitedHost[]; |
489 extern const char kChromeSearchMostVisitedUrl[]; | 489 extern const char kChromeSearchMostVisitedUrl[]; |
490 | 490 |
491 #if defined(OS_CHROMEOS) | 491 #if defined(OS_CHROMEOS) |
492 extern const char kCrosScheme[]; | 492 extern const char kCrosScheme[]; |
493 extern const char kDriveScheme[]; | 493 extern const char kDriveScheme[]; |
494 #endif | 494 #endif |
495 | 495 |
(...skipping 17 matching lines...) Expand all Loading... |
513 extern const char kLanguageSettingsLearnMoreUrl[]; | 513 extern const char kLanguageSettingsLearnMoreUrl[]; |
514 | 514 |
515 #if defined(OS_MACOSX) | 515 #if defined(OS_MACOSX) |
516 // The URL for the 32-bit Mac deprecation help center article | 516 // The URL for the 32-bit Mac deprecation help center article |
517 extern const char kMac32BitDeprecationURL[]; | 517 extern const char kMac32BitDeprecationURL[]; |
518 #endif | 518 #endif |
519 | 519 |
520 } // namespace chrome | 520 } // namespace chrome |
521 | 521 |
522 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 522 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |