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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 286 |
287 // The URL for the "About Voice Recognition" menu item. | 287 // The URL for the "About Voice Recognition" menu item. |
288 extern const char kSpeechInputAboutURL[]; | 288 extern const char kSpeechInputAboutURL[]; |
289 | 289 |
290 // The URL for the "Learn more" page for register protocol handler infobars. | 290 // The URL for the "Learn more" page for register protocol handler infobars. |
291 extern const char kLearnMoreRegisterProtocolHandlerURL[]; | 291 extern const char kLearnMoreRegisterProtocolHandlerURL[]; |
292 | 292 |
293 // The URL for the "Learn more" page for sync setup on the personal stuff page. | 293 // The URL for the "Learn more" page for sync setup on the personal stuff page. |
294 extern const char kSyncLearnMoreURL[]; | 294 extern const char kSyncLearnMoreURL[]; |
295 | 295 |
| 296 // The URL for the "Learn more" page for download scanning. |
| 297 extern const char kDownloadScanningLearnMoreURL[]; |
| 298 |
296 // "Debug" pages which are dangerous and not for general consumption. | 299 // "Debug" pages which are dangerous and not for general consumption. |
297 extern const char* const kChromeDebugURLs[]; | 300 extern const char* const kChromeDebugURLs[]; |
298 extern int kNumberOfChromeDebugURLs; | 301 extern int kNumberOfChromeDebugURLs; |
299 | 302 |
300 // Canonical schemes you can use as input to GURL.SchemeIs(). | 303 // Canonical schemes you can use as input to GURL.SchemeIs(). |
301 extern const char kExtensionScheme[]; | 304 extern const char kExtensionScheme[]; |
302 | 305 |
303 // Call near the beginning of startup to register Chrome's internal URLs that | 306 // Call near the beginning of startup to register Chrome's internal URLs that |
304 // should be parsed as "standard" with the googleurl library. | 307 // should be parsed as "standard" with the googleurl library. |
305 void RegisterChromeSchemes(); | 308 void RegisterChromeSchemes(); |
306 | 309 |
307 #if defined(OS_CHROMEOS) | 310 #if defined(OS_CHROMEOS) |
308 // "Learn more" URL for the Cloud Print section under Options. | 311 // "Learn more" URL for the Cloud Print section under Options. |
309 extern const char kCloudPrintLearnMoreURL[]; | 312 extern const char kCloudPrintLearnMoreURL[]; |
310 #endif | 313 #endif |
311 | 314 |
312 } // namespace chrome | 315 } // namespace chrome |
313 | 316 |
314 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 317 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |