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