| 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 // "Debug" pages which are dangerous and not for general consumption. | 340 // "Debug" pages which are dangerous and not for general consumption. |
| 341 extern const char* const kChromeDebugURLs[]; | 341 extern const char* const kChromeDebugURLs[]; |
| 342 extern int kNumberOfChromeDebugURLs; | 342 extern int kNumberOfChromeDebugURLs; |
| 343 | 343 |
| 344 // Canonical schemes you can use as input to GURL.SchemeIs(). | 344 // Canonical schemes you can use as input to GURL.SchemeIs(). |
| 345 extern const char kExtensionScheme[]; | 345 extern const char kExtensionScheme[]; |
| 346 #if defined(OS_CHROMEOS) | 346 #if defined(OS_CHROMEOS) |
| 347 extern const char kGDataScheme[]; | 347 extern const char kGDataScheme[]; |
| 348 #endif // defined(OS_CHROMEOS) | 348 #endif // defined(OS_CHROMEOS) |
| 349 | 349 |
| 350 // Call near the beginning of startup to register Chrome's internal URLs that | |
| 351 // should be parsed as "standard" with the googleurl library. | |
| 352 void RegisterChromeSchemes(); | |
| 353 | |
| 354 #if defined(OS_CHROMEOS) | 350 #if defined(OS_CHROMEOS) |
| 355 // "Learn more" URL for the Cloud Print section under Options. | 351 // "Learn more" URL for the Cloud Print section under Options. |
| 356 extern const char kCloudPrintLearnMoreURL[]; | 352 extern const char kCloudPrintLearnMoreURL[]; |
| 357 #endif | 353 #endif |
| 358 | 354 |
| 359 } // namespace chrome | 355 } // namespace chrome |
| 360 | 356 |
| 361 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 357 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |