| 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 { | 9 namespace { |
| 10 const char* kSavableSchemes[] = { | 10 const char* kSavableSchemes[] = { |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 const char kChromeUISyncHost[] = "sync"; | 175 const char kChromeUISyncHost[] = "sync"; |
| 176 const char kChromeUISyncInternalsHost[] = "sync-internals"; | 176 const char kChromeUISyncInternalsHost[] = "sync-internals"; |
| 177 const char kChromeUISyncPromoHost[] = "syncpromo"; | 177 const char kChromeUISyncPromoHost[] = "syncpromo"; |
| 178 const char kChromeUISyncResourcesHost[] = "syncresources"; | 178 const char kChromeUISyncResourcesHost[] = "syncresources"; |
| 179 const char kChromeUITaskManagerHost[] = "tasks"; | 179 const char kChromeUITaskManagerHost[] = "tasks"; |
| 180 const char kChromeUITCMallocHost[] = "tcmalloc"; | 180 const char kChromeUITCMallocHost[] = "tcmalloc"; |
| 181 const char kChromeUITermsHost[] = "terms"; | 181 const char kChromeUITermsHost[] = "terms"; |
| 182 const char kChromeUIThumbnailHost[] = "thumb"; | 182 const char kChromeUIThumbnailHost[] = "thumb"; |
| 183 const char kChromeUITouchIconHost[] = "touch-icon"; | 183 const char kChromeUITouchIconHost[] = "touch-icon"; |
| 184 const char kChromeUITracingHost[] = "tracing"; | 184 const char kChromeUITracingHost[] = "tracing"; |
| 185 const char kChromeUITrackingHost[] = "tracking"; | |
| 186 const char kChromeUIVersionHost[] = "version"; | 185 const char kChromeUIVersionHost[] = "version"; |
| 187 const char kChromeUIWorkersHost[] = "workers"; | 186 const char kChromeUIWorkersHost[] = "workers"; |
| 188 | 187 |
| 189 const char kChromeUIScreenshotPath[] = "screenshots"; | 188 const char kChromeUIScreenshotPath[] = "screenshots"; |
| 190 const char kChromeUIThemePath[] = "theme"; | 189 const char kChromeUIThemePath[] = "theme"; |
| 191 | 190 |
| 192 #if defined(OS_LINUX) || defined(OS_OPENBSD) | 191 #if defined(OS_LINUX) || defined(OS_OPENBSD) |
| 193 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; | 192 const char kChromeUILinuxProxyConfigHost[] = "linux-proxy-config"; |
| 194 const char kChromeUISandboxHost[] = "sandbox"; | 193 const char kChromeUISandboxHost[] = "sandbox"; |
| 195 #endif | 194 #endif |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 url_util::AddStandardScheme(kExtensionScheme); | 346 url_util::AddStandardScheme(kExtensionScheme); |
| 348 #if defined(OS_CHROMEOS) | 347 #if defined(OS_CHROMEOS) |
| 349 url_util::AddStandardScheme(kCrosScheme); | 348 url_util::AddStandardScheme(kCrosScheme); |
| 350 #endif | 349 #endif |
| 351 | 350 |
| 352 // This call will also lock the list of standard schemes. | 351 // This call will also lock the list of standard schemes. |
| 353 RegisterContentSchemes(kSavableSchemes); | 352 RegisterContentSchemes(kSavableSchemes); |
| 354 } | 353 } |
| 355 | 354 |
| 356 } // namespace chrome | 355 } // namespace chrome |
| OLD | NEW |