| 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 | 399 |
| 400 // The URL for the Learn More page about enterprise enrolled devices. | 400 // The URL for the Learn More page about enterprise enrolled devices. |
| 401 extern const char kLearnMoreEnterpriseURL[]; | 401 extern const char kLearnMoreEnterpriseURL[]; |
| 402 #endif | 402 #endif |
| 403 | 403 |
| 404 // "Debug" pages which are dangerous and not for general consumption. | 404 // "Debug" pages which are dangerous and not for general consumption. |
| 405 extern const char* const kChromeDebugURLs[]; | 405 extern const char* const kChromeDebugURLs[]; |
| 406 extern const int kNumberOfChromeDebugURLs; | 406 extern const int kNumberOfChromeDebugURLs; |
| 407 | 407 |
| 408 // Canonical schemes you can use as input to GURL.SchemeIs(). | 408 // Canonical schemes you can use as input to GURL.SchemeIs(). |
| 409 extern const char kExtensionScheme[]; |
| 409 extern const char kExtensionResourceScheme[]; | 410 extern const char kExtensionResourceScheme[]; |
| 410 | 411 |
| 411 // The chrome-search: scheme is served by the same backend as chrome:. However, | 412 // The chrome-search: scheme is served by the same backend as chrome:. However, |
| 412 // only specific URLDataSources are enabled to serve requests via the | 413 // only specific URLDataSources are enabled to serve requests via the |
| 413 // chrome-search: scheme. See |InstantIOContext::ShouldServiceRequest| and its | 414 // chrome-search: scheme. See |InstantIOContext::ShouldServiceRequest| and its |
| 414 // callers for details. Note that WebUIBindings should never be granted to | 415 // callers for details. Note that WebUIBindings should never be granted to |
| 415 // chrome-search: pages. chrome-search: pages are displayable but not readable | 416 // chrome-search: pages. chrome-search: pages are displayable but not readable |
| 416 // by external search providers (that are rendered by Instant renderer | 417 // by external search providers (that are rendered by Instant renderer |
| 417 // processes), and neither displayable nor readable by normal (non-Instant) web | 418 // processes), and neither displayable nor readable by normal (non-Instant) web |
| 418 // pages. To summarize, a non-Instant process, when trying to access | 419 // pages. To summarize, a non-Instant process, when trying to access |
| (...skipping 27 matching lines...) Expand all Loading... |
| 446 // Parameters that get appended to force SafeSearch. | 447 // Parameters that get appended to force SafeSearch. |
| 447 extern const char kSafeSearchSafeParameter[]; | 448 extern const char kSafeSearchSafeParameter[]; |
| 448 extern const char kSafeSearchSsuiParameter[]; | 449 extern const char kSafeSearchSsuiParameter[]; |
| 449 | 450 |
| 450 // The URL for the "Learn more" link in the media access infobar. | 451 // The URL for the "Learn more" link in the media access infobar. |
| 451 extern const char kMediaAccessLearnMoreUrl[]; | 452 extern const char kMediaAccessLearnMoreUrl[]; |
| 452 | 453 |
| 453 } // namespace chrome | 454 } // namespace chrome |
| 454 | 455 |
| 455 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 456 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |