| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 const char kChromeUIKeyboardOverlayHost[] = "keyboardoverlay"; | 195 const char kChromeUIKeyboardOverlayHost[] = "keyboardoverlay"; |
| 196 const char kChromeUILoginContainerHost[] = "login-container"; | 196 const char kChromeUILoginContainerHost[] = "login-container"; |
| 197 const char kChromeUILoginHost[] = "login"; | 197 const char kChromeUILoginHost[] = "login"; |
| 198 const char kChromeUIMediaplayerHost[] = "mediaplayer"; | 198 const char kChromeUIMediaplayerHost[] = "mediaplayer"; |
| 199 const char kChromeUIMobileSetupHost[] = "mobilesetup"; | 199 const char kChromeUIMobileSetupHost[] = "mobilesetup"; |
| 200 const char kChromeUINetworkHost[] = "network"; | 200 const char kChromeUINetworkHost[] = "network"; |
| 201 const char kChromeUIOobeHost[] = "oobe"; | 201 const char kChromeUIOobeHost[] = "oobe"; |
| 202 const char kChromeUIOSCreditsHost[] = "os-credits"; | 202 const char kChromeUIOSCreditsHost[] = "os-credits"; |
| 203 const char kChromeUIProxySettingsHost[] = "proxy-settings"; | 203 const char kChromeUIProxySettingsHost[] = "proxy-settings"; |
| 204 const char kChromeUIRegisterPageHost[] = "register"; | 204 const char kChromeUIRegisterPageHost[] = "register"; |
| 205 const char kChromeUIRotateHost[] = "rotate"; |
| 205 const char kChromeUISlideshowHost[] = "slideshow"; | 206 const char kChromeUISlideshowHost[] = "slideshow"; |
| 206 const char kChromeUISimUnlockHost[] = "sim-unlock"; | 207 const char kChromeUISimUnlockHost[] = "sim-unlock"; |
| 207 const char kChromeUISystemInfoHost[] = "system"; | 208 const char kChromeUISystemInfoHost[] = "system"; |
| 208 const char kChromeUIUserImageHost[] = "userimage"; | 209 const char kChromeUIUserImageHost[] = "userimage"; |
| 209 | 210 |
| 210 const char kChromeUIMenu[] = "menu"; | 211 const char kChromeUIMenu[] = "menu"; |
| 211 const char kChromeUIWrenchMenu[] = "wrench-menu"; | 212 const char kChromeUIWrenchMenu[] = "wrench-menu"; |
| 212 const char kChromeUINetworkMenu[] = "network-menu"; | 213 const char kChromeUINetworkMenu[] = "network-menu"; |
| 213 | 214 |
| 214 const char kEULAPathFormat[] = "/usr/share/chromeos-assets/eula/%s/eula.html"; | 215 const char kEULAPathFormat[] = "/usr/share/chromeos-assets/eula/%s/eula.html"; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 | 306 |
| 306 // Prevent future modification of the standard schemes list. This is to | 307 // Prevent future modification of the standard schemes list. This is to |
| 307 // prevent accidental creation of data races in the program. AddStandardScheme | 308 // prevent accidental creation of data races in the program. AddStandardScheme |
| 308 // isn't threadsafe so must be called when GURL isn't used on any other | 309 // isn't threadsafe so must be called when GURL isn't used on any other |
| 309 // thread. This is really easy to mess up, so we say that all calls to | 310 // thread. This is really easy to mess up, so we say that all calls to |
| 310 // AddStandardScheme in Chrome must be inside this function. | 311 // AddStandardScheme in Chrome must be inside this function. |
| 311 url_util::LockStandardSchemes(); | 312 url_util::LockStandardSchemes(); |
| 312 } | 313 } |
| 313 | 314 |
| 314 } // namespace chrome | 315 } // namespace chrome |
| OLD | NEW |