| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 // The URL for the "Learn more" page for register protocol handler infobars. | 278 // The URL for the "Learn more" page for register protocol handler infobars. |
| 279 extern const char kLearnMoreRegisterProtocolHandlerURL[]; | 279 extern const char kLearnMoreRegisterProtocolHandlerURL[]; |
| 280 | 280 |
| 281 // The URL for the "Learn more" page for sync setup on the personal stuff page. | 281 // The URL for the "Learn more" page for sync setup on the personal stuff page. |
| 282 extern const char kSyncLearnMoreURL[]; | 282 extern const char kSyncLearnMoreURL[]; |
| 283 | 283 |
| 284 // "Debug" pages which are dangerous and not for general consumption. | 284 // "Debug" pages which are dangerous and not for general consumption. |
| 285 extern const char* const kChromeDebugURLs[]; | 285 extern const char* const kChromeDebugURLs[]; |
| 286 extern int kNumberOfChromeDebugURLs; | 286 extern int kNumberOfChromeDebugURLs; |
| 287 | 287 |
| 288 // Canonical schemes you can use as input to GURL.SchemeIs(). |
| 289 extern const char kExtensionScheme[]; |
| 290 |
| 288 // Call near the beginning of startup to register Chrome's internal URLs that | 291 // Call near the beginning of startup to register Chrome's internal URLs that |
| 289 // should be parsed as "standard" with the googleurl library. | 292 // should be parsed as "standard" with the googleurl library. |
| 290 void RegisterChromeSchemes(); | 293 void RegisterChromeSchemes(); |
| 291 | 294 |
| 292 #if defined(OS_CHROMEOS) | 295 #if defined(OS_CHROMEOS) |
| 293 // "Learn more" URL for the Cloud Print section under Options. | 296 // "Learn more" URL for the Cloud Print section under Options. |
| 294 extern const char kCloudPrintLearnMoreURL[]; | 297 extern const char kCloudPrintLearnMoreURL[]; |
| 295 #endif | 298 #endif |
| 296 | 299 |
| 297 } // namespace chrome | 300 } // namespace chrome |
| 298 | 301 |
| 299 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 302 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |