OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/common/url_constants.h" | 5 #include "chrome/common/url_constants.h" |
6 | 6 |
7 #include "googleurl/src/url_util.h" | 7 #include "googleurl/src/url_util.h" |
8 | 8 |
9 namespace chrome { | 9 namespace chrome { |
10 | 10 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 const char kChromeUIFlashHost[] = "flash"; | 115 const char kChromeUIFlashHost[] = "flash"; |
116 const char kChromeUIGpuInternalsHost[] = "gpu-internals"; | 116 const char kChromeUIGpuInternalsHost[] = "gpu-internals"; |
117 const char kChromeUIHistoryHost[] = "history"; | 117 const char kChromeUIHistoryHost[] = "history"; |
118 const char kChromeUIHistory2Host[] = "history2"; | 118 const char kChromeUIHistory2Host[] = "history2"; |
119 const char kChromeUIInspectorHost[] = "inspector"; | 119 const char kChromeUIInspectorHost[] = "inspector"; |
120 const char kChromeUIKeyboardHost[] = "keyboard"; | 120 const char kChromeUIKeyboardHost[] = "keyboard"; |
121 const char kChromeUINetInternalsHost[] = "net-internals"; | 121 const char kChromeUINetInternalsHost[] = "net-internals"; |
122 const char kChromeUINewTabHost[] = "newtab"; | 122 const char kChromeUINewTabHost[] = "newtab"; |
123 const char kChromeUIPluginsHost[] = "plugins"; | 123 const char kChromeUIPluginsHost[] = "plugins"; |
124 const char kChromeUIPrintHost[] = "print"; | 124 const char kChromeUIPrintHost[] = "print"; |
| 125 const char kChromeUIQuotaInternalsHost[] = "quota-internals"; |
125 const char kChromeUIResourcesHost[] = "resources"; | 126 const char kChromeUIResourcesHost[] = "resources"; |
126 const char kChromeUIScreenshotPath[] = "screenshots"; | 127 const char kChromeUIScreenshotPath[] = "screenshots"; |
127 const char kChromeUISettingsHost[] = "settings"; | 128 const char kChromeUISettingsHost[] = "settings"; |
128 const char kChromeUISyncInternalsHost[] = "sync-internals"; | 129 const char kChromeUISyncInternalsHost[] = "sync-internals"; |
129 const char kChromeUISyncResourcesHost[] = "syncresources"; | 130 const char kChromeUISyncResourcesHost[] = "syncresources"; |
130 const char kChromeUITextfieldsHost[] = "textfields"; | 131 const char kChromeUITextfieldsHost[] = "textfields"; |
131 const char kChromeUIThemePath[] = "theme"; | 132 const char kChromeUIThemePath[] = "theme"; |
132 const char kChromeUIThumbnailPath[] = "thumb"; | 133 const char kChromeUIThumbnailPath[] = "thumb"; |
133 | 134 |
134 #if defined(OS_CHROMEOS) | 135 #if defined(OS_CHROMEOS) |
(...skipping 28 matching lines...) Expand all Loading... |
163 | 164 |
164 const char kBlobViewInternalsURL[] = "chrome://blob-internals/"; | 165 const char kBlobViewInternalsURL[] = "chrome://blob-internals/"; |
165 | 166 |
166 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/"; | 167 const char kCloudPrintResourcesURL[] = "chrome://cloudprintresources/"; |
167 const char kCloudPrintResourcesHost[] = "cloudprintresources"; | 168 const char kCloudPrintResourcesHost[] = "cloudprintresources"; |
168 const char kCloudPrintSetupHost[] = "cloudprintsetup"; | 169 const char kCloudPrintSetupHost[] = "cloudprintsetup"; |
169 | 170 |
170 const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; | 171 const char kNetworkViewInternalsURL[] = "chrome://net-internals/"; |
171 const char kNetworkViewCacheURL[] = "chrome://view-http-cache/"; | 172 const char kNetworkViewCacheURL[] = "chrome://view-http-cache/"; |
172 | 173 |
| 174 const char kQuotaInternalsURL[] = "chrome://quota-internals/"; |
| 175 |
173 const char kSyncViewInternalsURL[] = "chrome://sync-internals/"; | 176 const char kSyncViewInternalsURL[] = "chrome://sync-internals/"; |
174 const char kSyncGoogleDashboardURL[] = "https://www.google.com/dashboard/"; | 177 const char kSyncGoogleDashboardURL[] = "https://www.google.com/dashboard/"; |
175 | 178 |
176 // GPU sub pages | 179 // GPU sub pages |
177 const char kGpuInternalsURL[] = "chrome://gpu-internals/"; | 180 const char kGpuInternalsURL[] = "chrome://gpu-internals/"; |
178 | 181 |
179 // Option sub pages. | 182 // Option sub pages. |
180 const char kAdvancedOptionsSubPage[] = "advanced"; | 183 const char kAdvancedOptionsSubPage[] = "advanced"; |
181 const char kAutofillSubPage[] = "autofill"; | 184 const char kAutofillSubPage[] = "autofill"; |
182 const char kBrowserOptionsSubPage[] = "browser"; | 185 const char kBrowserOptionsSubPage[] = "browser"; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 | 266 |
264 // Prevent future modification of the standard schemes list. This is to | 267 // Prevent future modification of the standard schemes list. This is to |
265 // prevent accidental creation of data races in the program. AddStandardScheme | 268 // prevent accidental creation of data races in the program. AddStandardScheme |
266 // isn't threadsafe so must be called when GURL isn't used on any other | 269 // isn't threadsafe so must be called when GURL isn't used on any other |
267 // thread. This is really easy to mess up, so we say that all calls to | 270 // thread. This is really easy to mess up, so we say that all calls to |
268 // AddStandardScheme in Chrome must be inside this function. | 271 // AddStandardScheme in Chrome must be inside this function. |
269 url_util::LockStandardSchemes(); | 272 url_util::LockStandardSchemes(); |
270 } | 273 } |
271 | 274 |
272 } // namespace chrome | 275 } // namespace chrome |
OLD | NEW |