| 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 extern const char kLearnMoreEnterpriseURL[]; | 404 extern const char kLearnMoreEnterpriseURL[]; |
| 405 #endif | 405 #endif |
| 406 | 406 |
| 407 // "Debug" pages which are dangerous and not for general consumption. | 407 // "Debug" pages which are dangerous and not for general consumption. |
| 408 extern const char* const kChromeDebugURLs[]; | 408 extern const char* const kChromeDebugURLs[]; |
| 409 extern const int kNumberOfChromeDebugURLs; | 409 extern const int kNumberOfChromeDebugURLs; |
| 410 | 410 |
| 411 // Canonical schemes you can use as input to GURL.SchemeIs(). | 411 // Canonical schemes you can use as input to GURL.SchemeIs(). |
| 412 extern const char kExtensionResourceScheme[]; | 412 extern const char kExtensionResourceScheme[]; |
| 413 | 413 |
| 414 // The chrome-search: scheme is served by the same backend as chrome:. However, |
| 415 // only specific URLDataSources are enabled to serve requests via the |
| 416 // chrome-search: scheme. See |InstantIOContext::ShouldServiceRequest| and its |
| 417 // callers for details. Note that WebUIBindings should never be granted to |
| 418 // chrome-search: pages. |
| 414 extern const char kChromeSearchScheme[]; | 419 extern const char kChromeSearchScheme[]; |
| 415 | 420 |
| 416 #if defined(OS_CHROMEOS) | 421 #if defined(OS_CHROMEOS) |
| 417 extern const char kCrosScheme[]; | 422 extern const char kCrosScheme[]; |
| 418 extern const char kDriveScheme[]; | 423 extern const char kDriveScheme[]; |
| 419 | 424 |
| 420 // "Learn more" URL for the Cloud Print section under Options. | 425 // "Learn more" URL for the Cloud Print section under Options. |
| 421 extern const char kCloudPrintLearnMoreURL[]; | 426 extern const char kCloudPrintLearnMoreURL[]; |
| 422 #endif | 427 #endif |
| 423 | 428 |
| 424 // Parameters that get appended to force SafeSearch. | 429 // Parameters that get appended to force SafeSearch. |
| 425 extern const char kSafeSearchSafeParameter[]; | 430 extern const char kSafeSearchSafeParameter[]; |
| 426 extern const char kSafeSearchSsuiParameter[]; | 431 extern const char kSafeSearchSsuiParameter[]; |
| 427 | 432 |
| 428 // The URL for the "Learn more" link in the media access infobar. | 433 // The URL for the "Learn more" link in the media access infobar. |
| 429 extern const char kMediaAccessLearnMoreUrl[]; | 434 extern const char kMediaAccessLearnMoreUrl[]; |
| 430 | 435 |
| 431 } // namespace chrome | 436 } // namespace chrome |
| 432 | 437 |
| 433 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 438 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |