| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 const char kChromeUINewProfile[] = "chrome://newprofile/"; | 58 const char kChromeUINewProfile[] = "chrome://newprofile/"; |
| 59 const char kChromeUIPluginsURL[] = "chrome://plugins/"; | 59 const char kChromeUIPluginsURL[] = "chrome://plugins/"; |
| 60 const char kChromeUIPrintURL[] = "chrome://print/"; | 60 const char kChromeUIPrintURL[] = "chrome://print/"; |
| 61 const char kChromeUISessionsURL[] = "chrome://sessions/"; | 61 const char kChromeUISessionsURL[] = "chrome://sessions/"; |
| 62 const char kChromeUISettingsURL[] = "chrome://settings/"; | 62 const char kChromeUISettingsURL[] = "chrome://settings/"; |
| 63 const char kChromeUIShorthangURL[] = "chrome://shorthang/"; | 63 const char kChromeUIShorthangURL[] = "chrome://shorthang/"; |
| 64 const char kChromeUITaskManagerURL[] = "chrome://tasks/"; | 64 const char kChromeUITaskManagerURL[] = "chrome://tasks/"; |
| 65 const char kChromeUITermsURL[] = "chrome://terms/"; | 65 const char kChromeUITermsURL[] = "chrome://terms/"; |
| 66 const char kChromeUITextfieldsURL[] = "chrome://textfields/"; | 66 const char kChromeUITextfieldsURL[] = "chrome://textfields/"; |
| 67 const char kChromeUIVersionURL[] = "chrome://version/"; | 67 const char kChromeUIVersionURL[] = "chrome://version/"; |
| 68 const char kChromeUIWorkersURL[] = "chrome://workers"; |
| 68 | 69 |
| 69 #if defined(OS_CHROMEOS) | 70 #if defined(OS_CHROMEOS) |
| 70 const char kChromeUIActivationMessage[] = "chrome://activationmessage/"; | 71 const char kChromeUIActivationMessage[] = "chrome://activationmessage/"; |
| 71 const char kChromeUIActiveDownloadsURL[] = "chrome://active-downloads/"; | 72 const char kChromeUIActiveDownloadsURL[] = "chrome://active-downloads/"; |
| 72 const char kChromeUIChooseMobileNetworkURL[] = | 73 const char kChromeUIChooseMobileNetworkURL[] = |
| 73 "chrome://choose-mobile-network/"; | 74 "chrome://choose-mobile-network/"; |
| 74 const char kChromeUICollectedCookiesURL[] = "chrome://collected-cookies/"; | 75 const char kChromeUICollectedCookiesURL[] = "chrome://collected-cookies/"; |
| 75 const char kChromeUIHttpAuthURL[] = "chrome://http-auth/"; | 76 const char kChromeUIHttpAuthURL[] = "chrome://http-auth/"; |
| 76 const char kChromeUIImageBurnerURL[] = "chrome://imageburner/"; | 77 const char kChromeUIImageBurnerURL[] = "chrome://imageburner/"; |
| 77 const char kChromeUIKeyboardOverlayURL[] = "chrome://keyboardoverlay/"; | 78 const char kChromeUIKeyboardOverlayURL[] = "chrome://keyboardoverlay/"; |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 | 289 |
| 289 // Prevent future modification of the standard schemes list. This is to | 290 // Prevent future modification of the standard schemes list. This is to |
| 290 // prevent accidental creation of data races in the program. AddStandardScheme | 291 // prevent accidental creation of data races in the program. AddStandardScheme |
| 291 // isn't threadsafe so must be called when GURL isn't used on any other | 292 // isn't threadsafe so must be called when GURL isn't used on any other |
| 292 // thread. This is really easy to mess up, so we say that all calls to | 293 // thread. This is really easy to mess up, so we say that all calls to |
| 293 // AddStandardScheme in Chrome must be inside this function. | 294 // AddStandardScheme in Chrome must be inside this function. |
| 294 url_util::LockStandardSchemes(); | 295 url_util::LockStandardSchemes(); |
| 295 } | 296 } |
| 296 | 297 |
| 297 } // namespace chrome | 298 } // namespace chrome |
| OLD | NEW |