| 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 kChromeUIScheme[]; | 14 extern const char kChromeInternalScheme[]; // Used for new tab page. |
| 15 extern const char kChromeUIScheme[]; // The scheme used for DOMUIContentses. |
| 15 extern const char kDataScheme[]; | 16 extern const char kDataScheme[]; |
| 17 extern const char kExtensionScheme[]; |
| 18 extern const char kFileScheme[]; |
| 19 extern const char kFtpScheme[]; |
| 20 extern const char kHttpScheme[]; |
| 21 extern const char kHttpsScheme[]; |
| 16 extern const char kJavaScriptScheme[]; | 22 extern const char kJavaScriptScheme[]; |
| 23 extern const char kMailToScheme[]; |
| 24 extern const char kUserScriptScheme[]; |
| 17 extern const char kViewSourceScheme[]; | 25 extern const char kViewSourceScheme[]; |
| 18 | 26 |
| 27 // Used to separate a standard scheme and the hostname: "://". |
| 28 extern const char kStandardSchemeSeparator[]; |
| 29 |
| 30 // About URLs (including schmes). |
| 31 extern const char kAboutBlankURL[]; |
| 32 |
| 19 } // namespace chrome | 33 } // namespace chrome |
| 20 | 34 |
| 21 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 35 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |