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