| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 namespace chrome { | 10 namespace chrome { |
| 11 | 11 |
| 12 // Canonical schemes you can use as input to GURL.SchemeIs(). | 12 // Canonical schemes you can use as input to GURL.SchemeIs(). |
| 13 extern const char kAboutScheme[]; | 13 extern const char kAboutScheme[]; |
| 14 extern const char kChromeInternalScheme[]; // Used for new tab page. | 14 extern const char kChromeInternalScheme[]; // Used for new tab page. |
| 15 extern const char kChromeUIScheme[]; // The scheme used for DOMUIContentses. | 15 extern const char kChromeUIScheme[]; // The scheme used for DOMUIContentses. |
| 16 extern const char kDataScheme[]; | 16 extern const char kDataScheme[]; |
| 17 extern const char kExtensionScheme[]; | 17 extern const char kExtensionScheme[]; |
| 18 extern const char kFileScheme[]; | 18 extern const char kFileScheme[]; |
| 19 extern const char kFtpScheme[]; | 19 extern const char kFtpScheme[]; |
| 20 extern const char kGearsScheme[]; | 20 extern const char kGearsScheme[]; |
| 21 extern const char kHttpScheme[]; | 21 extern const char kHttpScheme[]; |
| 22 extern const char kHttpsScheme[]; | 22 extern const char kHttpsScheme[]; |
| 23 extern const char kJavaScriptScheme[]; | 23 extern const char kJavaScriptScheme[]; |
| 24 extern const char kMailToScheme[]; | 24 extern const char kMailToScheme[]; |
| 25 extern const char kPrintScheme[]; | 25 extern const char kPrintScheme[]; |
| 26 extern const char kUserScriptScheme[]; | 26 extern const char kUserScriptScheme[]; |
| 27 extern const char kViewCacheScheme[]; | 27 extern const char kViewCacheScheme[]; |
| 28 extern const char kViewNetInternalScheme[]; |
| 28 extern const char kViewSourceScheme[]; | 29 extern const char kViewSourceScheme[]; |
| 29 | 30 |
| 30 // Used to separate a standard scheme and the hostname: "://". | 31 // Used to separate a standard scheme and the hostname: "://". |
| 31 extern const char kStandardSchemeSeparator[]; | 32 extern const char kStandardSchemeSeparator[]; |
| 32 | 33 |
| 33 // About URLs (including schmes). | 34 // About URLs (including schmes). |
| 34 extern const char kAboutBlankURL[]; | 35 extern const char kAboutBlankURL[]; |
| 35 extern const char kAboutBrowserCrash[]; | 36 extern const char kAboutBrowserCrash[]; |
| 36 extern const char kAboutCacheURL[]; | 37 extern const char kAboutCacheURL[]; |
| 38 extern const char kAboutNetInternalURL[]; |
| 37 extern const char kAboutCrashURL[]; | 39 extern const char kAboutCrashURL[]; |
| 38 extern const char kAboutHangURL[]; | 40 extern const char kAboutHangURL[]; |
| 39 extern const char kAboutMemoryURL[]; | 41 extern const char kAboutMemoryURL[]; |
| 40 extern const char kAboutShorthangURL[]; | 42 extern const char kAboutShorthangURL[]; |
| 41 | 43 |
| 42 // chrome: URLs (including schemes). Should be kept in sync with the | 44 // chrome: URLs (including schemes). Should be kept in sync with the |
| 43 // components below. | 45 // components below. |
| 44 extern const char kChromeUIDevToolsURL[]; | 46 extern const char kChromeUIDevToolsURL[]; |
| 45 extern const char kChromeUIDownloadsURL[]; | 47 extern const char kChromeUIDownloadsURL[]; |
| 46 extern const char kChromeUIExtensionsURL[]; | 48 extern const char kChromeUIExtensionsURL[]; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 65 // Sync related URL components. | 67 // Sync related URL components. |
| 66 extern const char kSyncResourcesHost[]; | 68 extern const char kSyncResourcesHost[]; |
| 67 extern const char kSyncGaiaLoginPath[]; | 69 extern const char kSyncGaiaLoginPath[]; |
| 68 extern const char kSyncMergeAndSyncPath[]; | 70 extern const char kSyncMergeAndSyncPath[]; |
| 69 extern const char kSyncThrobberPath[]; | 71 extern const char kSyncThrobberPath[]; |
| 70 extern const char kSyncSetupFlowPath[]; | 72 extern const char kSyncSetupFlowPath[]; |
| 71 | 73 |
| 72 } // namespace chrome | 74 } // namespace chrome |
| 73 | 75 |
| 74 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 76 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |