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