| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 extern const char kAboutBlankURL[]; | 38 extern const char kAboutBlankURL[]; |
| 39 extern const char kAboutBrowserCrash[]; | 39 extern const char kAboutBrowserCrash[]; |
| 40 extern const char kAboutCacheURL[]; | 40 extern const char kAboutCacheURL[]; |
| 41 extern const char kAboutNetInternalsURL[]; | 41 extern const char kAboutNetInternalsURL[]; |
| 42 extern const char kAboutCrashURL[]; | 42 extern const char kAboutCrashURL[]; |
| 43 extern const char kAboutCreditsURL[]; | 43 extern const char kAboutCreditsURL[]; |
| 44 extern const char kAboutHangURL[]; | 44 extern const char kAboutHangURL[]; |
| 45 extern const char kAboutMemoryURL[]; | 45 extern const char kAboutMemoryURL[]; |
| 46 extern const char kAboutPluginsURL[]; | 46 extern const char kAboutPluginsURL[]; |
| 47 extern const char kAboutShorthangURL[]; | 47 extern const char kAboutShorthangURL[]; |
| 48 extern const char kAboutSystemURL[]; |
| 48 extern const char kAboutTermsURL[]; | 49 extern const char kAboutTermsURL[]; |
| 49 extern const char kAboutAboutURL[]; | 50 extern const char kAboutAboutURL[]; |
| 50 extern const char kAboutDNSURL[]; | 51 extern const char kAboutDNSURL[]; |
| 51 extern const char kAboutHistogramsURL[]; | 52 extern const char kAboutHistogramsURL[]; |
| 52 extern const char kAboutVersionURL[]; | 53 extern const char kAboutVersionURL[]; |
| 53 | 54 |
| 54 // chrome: URLs (including schemes). Should be kept in sync with the | 55 // chrome: URLs (including schemes). Should be kept in sync with the |
| 55 // components below. | 56 // components below. |
| 56 extern const char kChromeUIAppLauncherURL[]; | 57 extern const char kChromeUIAppLauncherURL[]; |
| 57 extern const char kChromeUIBookmarksURL[]; | 58 extern const char kChromeUIBookmarksURL[]; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 extern const char kNetworkViewCacheURL[]; | 114 extern const char kNetworkViewCacheURL[]; |
| 114 extern const char kNetworkViewInternalsURL[]; | 115 extern const char kNetworkViewInternalsURL[]; |
| 115 | 116 |
| 116 // Call near the beginning of startup to register Chrome's internal URLs that | 117 // Call near the beginning of startup to register Chrome's internal URLs that |
| 117 // should be parsed as "standard" with the googleurl library. | 118 // should be parsed as "standard" with the googleurl library. |
| 118 void RegisterChromeSchemes(); | 119 void RegisterChromeSchemes(); |
| 119 | 120 |
| 120 } // namespace chrome | 121 } // namespace chrome |
| 121 | 122 |
| 122 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 123 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
| OLD | NEW |