| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 const char kChromeUIKeyboardOverlayHost[] = "keyboardoverlay"; | 178 const char kChromeUIKeyboardOverlayHost[] = "keyboardoverlay"; |
| 179 const char kChromeUILoginContainerHost[] = "login-container"; | 179 const char kChromeUILoginContainerHost[] = "login-container"; |
| 180 const char kChromeUILoginHost[] = "login"; | 180 const char kChromeUILoginHost[] = "login"; |
| 181 const char kChromeUIMediaplayerHost[] = "mediaplayer"; | 181 const char kChromeUIMediaplayerHost[] = "mediaplayer"; |
| 182 const char kChromeUIMobileSetupHost[] = "mobilesetup"; | 182 const char kChromeUIMobileSetupHost[] = "mobilesetup"; |
| 183 const char kChromeUINetworkHost[] = "network"; | 183 const char kChromeUINetworkHost[] = "network"; |
| 184 const char kChromeUIOobeHost[] = "oobe"; | 184 const char kChromeUIOobeHost[] = "oobe"; |
| 185 const char kChromeUIOSCreditsHost[] = "os-credits"; | 185 const char kChromeUIOSCreditsHost[] = "os-credits"; |
| 186 const char kChromeUIProxySettingsHost[] = "proxy-settings"; | 186 const char kChromeUIProxySettingsHost[] = "proxy-settings"; |
| 187 const char kChromeUIRegisterPageHost[] = "register"; | 187 const char kChromeUIRegisterPageHost[] = "register"; |
| 188 const char kChromeUIRotateHost[] = "rotate"; |
| 188 const char kChromeUISlideshowHost[] = "slideshow"; | 189 const char kChromeUISlideshowHost[] = "slideshow"; |
| 189 const char kChromeUISimUnlockHost[] = "sim-unlock"; | 190 const char kChromeUISimUnlockHost[] = "sim-unlock"; |
| 190 const char kChromeUISystemInfoHost[] = "system"; | 191 const char kChromeUISystemInfoHost[] = "system"; |
| 191 const char kChromeUIUserImageHost[] = "userimage"; | 192 const char kChromeUIUserImageHost[] = "userimage"; |
| 192 | 193 |
| 193 const char kChromeUIMenu[] = "menu"; | 194 const char kChromeUIMenu[] = "menu"; |
| 194 const char kChromeUIWrenchMenu[] = "wrench-menu"; | 195 const char kChromeUIWrenchMenu[] = "wrench-menu"; |
| 195 const char kChromeUINetworkMenu[] = "network-menu"; | 196 const char kChromeUINetworkMenu[] = "network-menu"; |
| 196 | 197 |
| 197 const char kEULAPathFormat[] = "/usr/share/chromeos-assets/eula/%s/eula.html"; | 198 const char kEULAPathFormat[] = "/usr/share/chromeos-assets/eula/%s/eula.html"; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 | 312 |
| 312 // Prevent future modification of the standard schemes list. This is to | 313 // Prevent future modification of the standard schemes list. This is to |
| 313 // prevent accidental creation of data races in the program. AddStandardScheme | 314 // prevent accidental creation of data races in the program. AddStandardScheme |
| 314 // isn't threadsafe so must be called when GURL isn't used on any other | 315 // isn't threadsafe so must be called when GURL isn't used on any other |
| 315 // thread. This is really easy to mess up, so we say that all calls to | 316 // thread. This is really easy to mess up, so we say that all calls to |
| 316 // AddStandardScheme in Chrome must be inside this function. | 317 // AddStandardScheme in Chrome must be inside this function. |
| 317 url_util::LockStandardSchemes(); | 318 url_util::LockStandardSchemes(); |
| 318 } | 319 } |
| 319 | 320 |
| 320 } // namespace chrome | 321 } // namespace chrome |
| OLD | NEW |