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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 extern const char kAboutShorthangURL[]; | 47 extern const char kAboutShorthangURL[]; |
48 extern const char kAboutTermsURL[]; | 48 extern const char kAboutTermsURL[]; |
49 | 49 |
50 // chrome: URLs (including schemes). Should be kept in sync with the | 50 // chrome: URLs (including schemes). Should be kept in sync with the |
51 // components below. | 51 // components below. |
52 extern const char kChromeUIAppLauncherURL[]; | 52 extern const char kChromeUIAppLauncherURL[]; |
53 extern const char kChromeUIBookmarksURL[]; | 53 extern const char kChromeUIBookmarksURL[]; |
54 extern const char kChromeUIDevToolsURL[]; | 54 extern const char kChromeUIDevToolsURL[]; |
55 extern const char kChromeUIDownloadsURL[]; | 55 extern const char kChromeUIDownloadsURL[]; |
56 extern const char kChromeUIExtensionsURL[]; | 56 extern const char kChromeUIExtensionsURL[]; |
| 57 extern const char kChromeUIFavIconURL[]; |
| 58 extern const char kChromeUIFileBrowseURL[]; |
57 extern const char kChromeUIHistoryURL[]; | 59 extern const char kChromeUIHistoryURL[]; |
| 60 extern const char kChromeUIIPCURL[]; |
| 61 extern const char kChromeUIMediaplayerURL[]; |
| 62 extern const char kChromeUIOptionsURL[]; |
| 63 extern const char kChromeUINetworkURL[]; |
| 64 extern const char kChromeUINewTabURL[]; |
58 extern const char kChromeUIPluginsURL[]; | 65 extern const char kChromeUIPluginsURL[]; |
59 extern const char kChromeUIPrintURL[]; | 66 extern const char kChromeUIPrintURL[]; |
60 extern const char kChromeUIFavIconURL[]; | |
61 extern const char kChromeUIFileBrowseURL[]; | |
62 extern const char kChromeUIMediaplayerURL[]; | |
63 extern const char kChromeUIIPCURL[]; | |
64 extern const char kChromeUINetworkURL[]; | |
65 extern const char kChromeUINewTabURL[]; | |
66 | 67 |
67 // chrome components of URLs. Should be kept in sync with the full URLs | 68 // chrome components of URLs. Should be kept in sync with the full URLs |
68 // above. | 69 // above. |
69 extern const char kChromeUIBookmarksHost[]; | 70 extern const char kChromeUIBookmarksHost[]; |
70 extern const char kChromeUIDevToolsHost[]; | 71 extern const char kChromeUIDevToolsHost[]; |
71 extern const char kChromeUIDialogHost[]; | 72 extern const char kChromeUIDialogHost[]; |
72 extern const char kChromeUIDownloadsHost[]; | 73 extern const char kChromeUIDownloadsHost[]; |
73 extern const char kChromeUIExtensionsHost[]; | 74 extern const char kChromeUIExtensionsHost[]; |
74 extern const char kChromeUIFavIconHost[]; | 75 extern const char kChromeUIFavIconHost[]; |
| 76 extern const char kChromeUIFileBrowseHost[]; |
75 extern const char kChromeUIHistoryHost[]; | 77 extern const char kChromeUIHistoryHost[]; |
| 78 extern const char kChromeUIInspectorHost[]; |
| 79 extern const char kChromeUIMediaplayerHost[]; |
| 80 extern const char kChromeUINetInternalsHost[]; |
| 81 extern const char kChromeUINewTabHost[]; |
| 82 extern const char kChromeUIOptionsHost[]; |
76 extern const char kChromeUIPluginsHost[]; | 83 extern const char kChromeUIPluginsHost[]; |
77 extern const char kChromeUIPrintHost[]; | 84 extern const char kChromeUIPrintHost[]; |
78 extern const char kChromeUIResourcesHost[]; | 85 extern const char kChromeUIResourcesHost[]; |
79 extern const char kChromeUIFileBrowseHost[]; | |
80 extern const char kChromeUIMediaplayerHost[]; | |
81 extern const char kChromeUIInspectorHost[]; | |
82 extern const char kChromeUINetInternalsHost[]; | |
83 extern const char kChromeUINewTabHost[]; | |
84 extern const char kChromeUIThumbnailPath[]; | 86 extern const char kChromeUIThumbnailPath[]; |
85 extern const char kChromeUIThemePath[]; | 87 extern const char kChromeUIThemePath[]; |
86 | 88 |
87 // Sync related URL components. | 89 // Sync related URL components. |
88 extern const char kSyncResourcesHost[]; | 90 extern const char kSyncResourcesHost[]; |
89 extern const char kSyncGaiaLoginPath[]; | 91 extern const char kSyncGaiaLoginPath[]; |
90 extern const char kSyncMergeAndSyncPath[]; | 92 extern const char kSyncMergeAndSyncPath[]; |
91 extern const char kSyncThrobberPath[]; | 93 extern const char kSyncThrobberPath[]; |
92 extern const char kSyncSetupFlowPath[]; | 94 extern const char kSyncSetupFlowPath[]; |
93 extern const char kSyncSetupDonePath[]; | 95 extern const char kSyncSetupDonePath[]; |
94 | 96 |
95 // AppCache related URL. | 97 // AppCache related URL. |
96 extern const char kAppCacheViewInternalsURL[]; | 98 extern const char kAppCacheViewInternalsURL[]; |
97 | 99 |
98 // Cloud Print dialog URL components. | 100 // Cloud Print dialog URL components. |
99 extern const char kCloudPrintResourcesURL[]; | 101 extern const char kCloudPrintResourcesURL[]; |
100 extern const char kCloudPrintResourcesHost[]; | 102 extern const char kCloudPrintResourcesHost[]; |
101 | 103 |
102 // Network related URLs. | 104 // Network related URLs. |
103 extern const char kNetworkViewCacheURL[]; | 105 extern const char kNetworkViewCacheURL[]; |
104 extern const char kNetworkViewInternalsURL[]; | 106 extern const char kNetworkViewInternalsURL[]; |
105 | 107 |
106 // Call near the beginning of startup to register Chrome's internal URLs that | 108 // Call near the beginning of startup to register Chrome's internal URLs that |
107 // should be parsed as "standard" with the googleurl library. | 109 // should be parsed as "standard" with the googleurl library. |
108 void RegisterChromeSchemes(); | 110 void RegisterChromeSchemes(); |
109 | 111 |
110 } // namespace chrome | 112 } // namespace chrome |
111 | 113 |
112 #endif // CHROME_COMMON_URL_CONSTANTS_H_ | 114 #endif // CHROME_COMMON_URL_CONSTANTS_H_ |
OLD | NEW |