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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 const char kChromeUIKeyboardOverlayURL[] = "chrome://keyboardoverlay/"; | 75 const char kChromeUIKeyboardOverlayURL[] = "chrome://keyboardoverlay/"; |
76 const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/"; | 76 const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/"; |
77 const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/"; | 77 const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/"; |
78 const char kChromeUIOobeURL[] = "chrome://oobe/"; | 78 const char kChromeUIOobeURL[] = "chrome://oobe/"; |
79 const char kChromeUIOSCreditsURL[] = "chrome://os-credits/"; | 79 const char kChromeUIOSCreditsURL[] = "chrome://os-credits/"; |
80 const char kChromeUIProxySettingsURL[] = "chrome://proxy-settings/"; | 80 const char kChromeUIProxySettingsURL[] = "chrome://proxy-settings/"; |
81 const char kChromeUIRegisterPageURL[] = "chrome://register/"; | 81 const char kChromeUIRegisterPageURL[] = "chrome://register/"; |
82 const char kChromeUISlideshowURL[] = "chrome://slideshow/"; | 82 const char kChromeUISlideshowURL[] = "chrome://slideshow/"; |
83 const char kChromeUISimUnlockURL[] = "chrome://sim-unlock/"; | 83 const char kChromeUISimUnlockURL[] = "chrome://sim-unlock/"; |
84 const char kChromeUISystemInfoURL[] = "chrome://system/"; | 84 const char kChromeUISystemInfoURL[] = "chrome://system/"; |
85 const char kChromeUITermsOemURL[] = "chrome://terms/oem/"; | 85 const char kChromeUITermsOemURL[] = "chrome://terms/oem"; |
86 const char kChromeUIUserImageURL[] = "chrome://userimage/"; | 86 const char kChromeUIUserImageURL[] = "chrome://userimage/"; |
87 #endif | 87 #endif |
88 | 88 |
89 #if defined(FILE_MANAGER_EXTENSION) | 89 #if defined(FILE_MANAGER_EXTENSION) |
90 const char kChromeUIFileManagerURL[] = "chrome://files/"; | 90 const char kChromeUIFileManagerURL[] = "chrome://files/"; |
91 #endif | 91 #endif |
92 | 92 |
93 // Add Chrome UI hosts here, in alphabetical order. | 93 // Add Chrome UI hosts here, in alphabetical order. |
94 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by | 94 // Add hosts to kChromePaths in browser_about_handler.cc to be listed by |
95 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. | 95 // chrome://chrome-urls (about:about) and the built-in AutocompleteProvider. |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 | 313 |
314 // Prevent future modification of the standard schemes list. This is to | 314 // Prevent future modification of the standard schemes list. This is to |
315 // prevent accidental creation of data races in the program. AddStandardScheme | 315 // 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 | 316 // 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 | 317 // thread. This is really easy to mess up, so we say that all calls to |
318 // AddStandardScheme in Chrome must be inside this function. | 318 // AddStandardScheme in Chrome must be inside this function. |
319 url_util::LockStandardSchemes(); | 319 url_util::LockStandardSchemes(); |
320 } | 320 } |
321 | 321 |
322 } // namespace chrome | 322 } // namespace chrome |
OLD | NEW |