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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
338 // The URL to create a new Google account via sync. | 338 // The URL to create a new Google account via sync. |
339 extern const char kSyncCreateNewAccountURL[]; | 339 extern const char kSyncCreateNewAccountURL[]; |
340 | 340 |
341 // "Debug" pages which are dangerous and not for general consumption. | 341 // "Debug" pages which are dangerous and not for general consumption. |
342 extern const char* const kChromeDebugURLs[]; | 342 extern const char* const kChromeDebugURLs[]; |
343 extern int kNumberOfChromeDebugURLs; | 343 extern int kNumberOfChromeDebugURLs; |
344 | 344 |
345 // Canonical schemes you can use as input to GURL.SchemeIs(). | 345 // Canonical schemes you can use as input to GURL.SchemeIs(). |
346 extern const char kExtensionScheme[]; | 346 extern const char kExtensionScheme[]; |
347 | 347 |
348 extern const char kExtensionResourceScheme[]; | |
Aaron Boodman
2012/04/18 17:52:24
Add a comment to be consistent with the ones above
Peng
2012/04/18 18:29:16
Done.
| |
349 | |
348 // Call near the beginning of startup to register Chrome's internal URLs that | 350 // Call near the beginning of startup to register Chrome's internal URLs that |
349 // should be parsed as "standard" with the googleurl library. | 351 // should be parsed as "standard" with the googleurl library. |
350 void RegisterChromeSchemes(); | 352 void RegisterChromeSchemes(); |
351 | 353 |
352 #if defined(OS_CHROMEOS) | 354 #if defined(OS_CHROMEOS) |
353 // "Learn more" URL for the Cloud Print section under Options. | 355 // "Learn more" URL for the Cloud Print section under Options. |
354 extern const char kCloudPrintLearnMoreURL[]; | 356 extern const char kCloudPrintLearnMoreURL[]; |
355 #endif | 357 #endif |
356 | 358 |
357 } // namespace chrome | 359 } // namespace chrome |
358 | 360 |
359 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 361 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |