| 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 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 // 2. Browser: Assuming they got by #1, the scheme checks in | 444 // 2. Browser: Assuming they got by #1, the scheme checks in |
| 445 // URLDataSource::ShouldServiceRequest will deny the request, | 445 // URLDataSource::ShouldServiceRequest will deny the request, |
| 446 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource | 446 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource |
| 447 // there are additional Instant-PID checks that make sure the request is | 447 // there are additional Instant-PID checks that make sure the request is |
| 448 // coming from a blessed Instant process, and deny the request. | 448 // coming from a blessed Instant process, and deny the request. |
| 449 extern const char kChromeSearchScheme[]; | 449 extern const char kChromeSearchScheme[]; |
| 450 | 450 |
| 451 // Pages under chrome-search. | 451 // Pages under chrome-search. |
| 452 extern const char kChromeSearchLocalNtpHost[]; | 452 extern const char kChromeSearchLocalNtpHost[]; |
| 453 extern const char kChromeSearchLocalNtpUrl[]; | 453 extern const char kChromeSearchLocalNtpUrl[]; |
| 454 extern const char kChromeSearchLocalGoogleNtpUrl[]; | |
| 455 | 454 |
| 456 // Host and URL for most visited iframes used on the Instant Extended NTP. | 455 // Host and URL for most visited iframes used on the Instant Extended NTP. |
| 457 extern const char kChromeSearchMostVisitedHost[]; | 456 extern const char kChromeSearchMostVisitedHost[]; |
| 458 extern const char kChromeSearchMostVisitedUrl[]; | 457 extern const char kChromeSearchMostVisitedUrl[]; |
| 459 | 458 |
| 460 #if defined(OS_CHROMEOS) | 459 #if defined(OS_CHROMEOS) |
| 461 extern const char kCrosScheme[]; | 460 extern const char kCrosScheme[]; |
| 462 extern const char kDriveScheme[]; | 461 extern const char kDriveScheme[]; |
| 463 | 462 |
| 464 // "Learn more" URL for the Cloud Print section under Options. | 463 // "Learn more" URL for the Cloud Print section under Options. |
| 465 extern const char kCloudPrintLearnMoreURL[]; | 464 extern const char kCloudPrintLearnMoreURL[]; |
| 466 #endif | 465 #endif |
| 467 | 466 |
| 468 // Parameters that get appended to force SafeSearch. | 467 // Parameters that get appended to force SafeSearch. |
| 469 extern const char kSafeSearchSafeParameter[]; | 468 extern const char kSafeSearchSafeParameter[]; |
| 470 extern const char kSafeSearchSsuiParameter[]; | 469 extern const char kSafeSearchSsuiParameter[]; |
| 471 | 470 |
| 472 // The URL for the "Learn more" link in the media access infobar. | 471 // The URL for the "Learn more" link in the media access infobar. |
| 473 extern const char kMediaAccessLearnMoreUrl[]; | 472 extern const char kMediaAccessLearnMoreUrl[]; |
| 474 | 473 |
| 475 } // namespace chrome | 474 } // namespace chrome |
| 476 | 475 |
| 477 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 476 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |