| OLD | NEW |
| 1 | 1 |
| 2 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 2 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 | 5 |
| 6 #include <stdlib.h> | 6 #include <stdlib.h> |
| 7 | 7 |
| 8 #include "chrome/common/url_constants.h" | 8 #include "chrome/common/url_constants.h" |
| 9 #include "googleurl/src/url_util.h" | 9 #include "googleurl/src/url_util.h" |
| 10 | 10 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 const char kChromeUIHistoryURL[] = "chrome://history/"; | 88 const char kChromeUIHistoryURL[] = "chrome://history/"; |
| 89 const char kChromeUIIPCURL[] = "chrome://about/ipc"; | 89 const char kChromeUIIPCURL[] = "chrome://about/ipc"; |
| 90 const char kChromeUIKeyboardURL[] = "chrome://keyboard/"; | 90 const char kChromeUIKeyboardURL[] = "chrome://keyboard/"; |
| 91 const char kChromeUINewTabURL[] = "chrome://newtab"; | 91 const char kChromeUINewTabURL[] = "chrome://newtab"; |
| 92 const char kChromeUIPluginsURL[] = "chrome://plugins/"; | 92 const char kChromeUIPluginsURL[] = "chrome://plugins/"; |
| 93 const char kChromeUIPrintURL[] = "chrome://print/"; | 93 const char kChromeUIPrintURL[] = "chrome://print/"; |
| 94 const char kChromeUISettingsURL[] = "chrome://settings/"; | 94 const char kChromeUISettingsURL[] = "chrome://settings/"; |
| 95 const char kChromeUITextfieldsURL[] = "chrome://textfields/"; | 95 const char kChromeUITextfieldsURL[] = "chrome://textfields/"; |
| 96 | 96 |
| 97 #if defined(OS_CHROMEOS) | 97 #if defined(OS_CHROMEOS) |
| 98 const char kChromeUIAboutOSCreditsURL[] = "chrome://about/os-credits"; |
| 98 const char kChromeUIFileBrowseURL[] = "chrome://filebrowse/"; | 99 const char kChromeUIFileBrowseURL[] = "chrome://filebrowse/"; |
| 99 const char kChromeUIImageBurnerURL[] = "chrome://imageburner/"; | 100 const char kChromeUIImageBurnerURL[] = "chrome://imageburner/"; |
| 100 const char kChromeUIKeyboardOverlayURL[] = "chrome://keyboardoverlay/"; | 101 const char kChromeUIKeyboardOverlayURL[] = "chrome://keyboardoverlay/"; |
| 101 const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/"; | 102 const char kChromeUIMediaplayerURL[] = "chrome://mediaplayer/"; |
| 102 const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/"; | 103 const char kChromeUIMobileSetupURL[] = "chrome://mobilesetup/"; |
| 103 const char kChromeUIRegisterPageURL[] = "chrome://register/"; | 104 const char kChromeUIRegisterPageURL[] = "chrome://register/"; |
| 104 const char kChromeUISlideshowURL[] = "chrome://slideshow/"; | 105 const char kChromeUISlideshowURL[] = "chrome://slideshow/"; |
| 105 const char kChromeUISystemInfoURL[] = "chrome://system/"; | 106 const char kChromeUISystemInfoURL[] = "chrome://system/"; |
| 106 #endif | 107 #endif |
| 107 | 108 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 225 |
| 225 // Prevent future modification of the standard schemes list. This is to | 226 // Prevent future modification of the standard schemes list. This is to |
| 226 // prevent accidental creation of data races in the program. AddStandardScheme | 227 // prevent accidental creation of data races in the program. AddStandardScheme |
| 227 // isn't threadsafe so must be called when GURL isn't used on any other | 228 // isn't threadsafe so must be called when GURL isn't used on any other |
| 228 // thread. This is really easy to mess up, so we say that all calls to | 229 // thread. This is really easy to mess up, so we say that all calls to |
| 229 // AddStandardScheme in Chrome must be inside this function. | 230 // AddStandardScheme in Chrome must be inside this function. |
| 230 url_util::LockStandardSchemes(); | 231 url_util::LockStandardSchemes(); |
| 231 } | 232 } |
| 232 | 233 |
| 233 } // namespace chrome | 234 } // namespace chrome |
| OLD | NEW |