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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 // 2. Browser: Assuming they got by #1, the scheme checks in | 421 // 2. Browser: Assuming they got by #1, the scheme checks in |
422 // URLDataSource::ShouldServiceRequest will deny the request, | 422 // URLDataSource::ShouldServiceRequest will deny the request, |
423 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource | 423 // 3. Browser: for specific sub-classes of URLDataSource, like ThemeSource |
424 // there are additional Instant-PID checks that make sure the request is | 424 // there are additional Instant-PID checks that make sure the request is |
425 // coming from a blessed Instant process, and deny the request. | 425 // coming from a blessed Instant process, and deny the request. |
426 extern const char kChromeSearchScheme[]; | 426 extern const char kChromeSearchScheme[]; |
427 | 427 |
428 // The local omnibox host and pages under chrome-search. | 428 // The local omnibox host and pages under chrome-search. |
429 extern const char kChromeSearchLocalOmniboxPopupHost[]; | 429 extern const char kChromeSearchLocalOmniboxPopupHost[]; |
430 extern const char kChromeSearchLocalOmniboxPopupURL[]; | 430 extern const char kChromeSearchLocalOmniboxPopupURL[]; |
| 431 extern const char kChromeSearchLocalNtpHost[]; |
| 432 extern const char kChromeSearchLocalNtpUrl[]; |
431 | 433 |
432 // Host for search suggestions iframes. | 434 // Host for search suggestions iframes. |
433 extern const char kChromeSearchSuggestionHost[]; | 435 extern const char kChromeSearchSuggestionHost[]; |
434 | 436 |
435 #if defined(OS_CHROMEOS) | 437 #if defined(OS_CHROMEOS) |
436 extern const char kCrosScheme[]; | 438 extern const char kCrosScheme[]; |
437 extern const char kDriveScheme[]; | 439 extern const char kDriveScheme[]; |
438 | 440 |
439 // "Learn more" URL for the Cloud Print section under Options. | 441 // "Learn more" URL for the Cloud Print section under Options. |
440 extern const char kCloudPrintLearnMoreURL[]; | 442 extern const char kCloudPrintLearnMoreURL[]; |
441 #endif | 443 #endif |
442 | 444 |
443 // Parameters that get appended to force SafeSearch. | 445 // Parameters that get appended to force SafeSearch. |
444 extern const char kSafeSearchSafeParameter[]; | 446 extern const char kSafeSearchSafeParameter[]; |
445 extern const char kSafeSearchSsuiParameter[]; | 447 extern const char kSafeSearchSsuiParameter[]; |
446 | 448 |
447 // The URL for the "Learn more" link in the media access infobar. | 449 // The URL for the "Learn more" link in the media access infobar. |
448 extern const char kMediaAccessLearnMoreUrl[]; | 450 extern const char kMediaAccessLearnMoreUrl[]; |
449 | 451 |
450 } // namespace chrome | 452 } // namespace chrome |
451 | 453 |
452 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 454 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |