| 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 extern const char kChromeSearchScheme[]; | 414 extern const char kChromeSearchScheme[]; |
| 415 | 415 |
| 416 // This is used to distinguish URLs belonging to the special web signin flow |
| 417 // running in the special signin process from other URLs on the same domain. |
| 418 // We do not grant WebUI privilieges / bindings to this process or to URLs of |
| 419 // this scheme; enforcement of privileges is handled separately by |
| 420 // OneClickSigninHelper. |
| 421 extern const char kChromeSigninScheme[]; |
| 422 |
| 416 #if defined(OS_CHROMEOS) | 423 #if defined(OS_CHROMEOS) |
| 417 extern const char kCrosScheme[]; | 424 extern const char kCrosScheme[]; |
| 418 extern const char kDriveScheme[]; | 425 extern const char kDriveScheme[]; |
| 419 | 426 |
| 420 // "Learn more" URL for the Cloud Print section under Options. | 427 // "Learn more" URL for the Cloud Print section under Options. |
| 421 extern const char kCloudPrintLearnMoreURL[]; | 428 extern const char kCloudPrintLearnMoreURL[]; |
| 422 #endif | 429 #endif |
| 423 | 430 |
| 424 // Parameters that get appended to force SafeSearch. | 431 // Parameters that get appended to force SafeSearch. |
| 425 extern const char kSafeSearchSafeParameter[]; | 432 extern const char kSafeSearchSafeParameter[]; |
| 426 extern const char kSafeSearchSsuiParameter[]; | 433 extern const char kSafeSearchSsuiParameter[]; |
| 427 | 434 |
| 428 // The URL for the "Learn more" link in the media access infobar. | 435 // The URL for the "Learn more" link in the media access infobar. |
| 429 extern const char kMediaAccessLearnMoreUrl[]; | 436 extern const char kMediaAccessLearnMoreUrl[]; |
| 430 | 437 |
| 431 } // namespace chrome | 438 } // namespace chrome |
| 432 | 439 |
| 433 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 440 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |