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