| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 // Option sub pages. | 209 // Option sub pages. |
| 210 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be | 210 // Add sub page paths to kChromeSettingsSubPages in builtin_provider.cc to be |
| 211 // listed by the built-in AutocompleteProvider. | 211 // listed by the built-in AutocompleteProvider. |
| 212 const char kAdvancedOptionsSubPage[] = "advanced"; | 212 const char kAdvancedOptionsSubPage[] = "advanced"; |
| 213 const char kAutofillSubPage[] = "autofill"; | 213 const char kAutofillSubPage[] = "autofill"; |
| 214 const char kBrowserOptionsSubPage[] = "browser"; | 214 const char kBrowserOptionsSubPage[] = "browser"; |
| 215 const char kClearBrowserDataSubPage[] = "clearBrowserData"; | 215 const char kClearBrowserDataSubPage[] = "clearBrowserData"; |
| 216 const char kContentSettingsSubPage[] = "content"; | 216 const char kContentSettingsSubPage[] = "content"; |
| 217 const char kContentSettingsExceptionsSubPage[] = "contentExceptions"; | 217 const char kContentSettingsExceptionsSubPage[] = "contentExceptions"; |
| 218 const char kHandlerSettingsSubPage[] = "handlers"; | 218 const char kHandlerSettingsSubPage[] = "handlers"; |
| 219 const char kExtensionsSubPage[] = "extensionSettings"; |
| 219 const char kImportDataSubPage[] = "importData"; | 220 const char kImportDataSubPage[] = "importData"; |
| 220 const char kInstantConfirmPage[] = "instantConfirm"; | 221 const char kInstantConfirmPage[] = "instantConfirm"; |
| 221 const char kLanguageOptionsSubPage[] = "languages"; | 222 const char kLanguageOptionsSubPage[] = "languages"; |
| 222 const char kPersonalOptionsSubPage[] = "personal"; | 223 const char kPersonalOptionsSubPage[] = "personal"; |
| 223 const char kPasswordManagerSubPage[] = "passwords"; | 224 const char kPasswordManagerSubPage[] = "passwords"; |
| 224 const char kSearchEnginesSubPage[] = "searchEngines"; | 225 const char kSearchEnginesSubPage[] = "searchEngines"; |
| 225 const char kSyncSetupSubPage[] = "syncSetup"; | 226 const char kSyncSetupSubPage[] = "syncSetup"; |
| 226 #if defined(OS_CHROMEOS) | 227 #if defined(OS_CHROMEOS) |
| 227 const char kAboutOptionsSubPage[] = "about"; | 228 const char kAboutOptionsSubPage[] = "about"; |
| 228 const char kInternetOptionsSubPage[] = "internet"; | 229 const char kInternetOptionsSubPage[] = "internet"; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 | 316 |
| 316 // Prevent future modification of the standard schemes list. This is to | 317 // Prevent future modification of the standard schemes list. This is to |
| 317 // prevent accidental creation of data races in the program. AddStandardScheme | 318 // prevent accidental creation of data races in the program. AddStandardScheme |
| 318 // isn't threadsafe so must be called when GURL isn't used on any other | 319 // isn't threadsafe so must be called when GURL isn't used on any other |
| 319 // thread. This is really easy to mess up, so we say that all calls to | 320 // thread. This is really easy to mess up, so we say that all calls to |
| 320 // AddStandardScheme in Chrome must be inside this function. | 321 // AddStandardScheme in Chrome must be inside this function. |
| 321 url_util::LockStandardSchemes(); | 322 url_util::LockStandardSchemes(); |
| 322 } | 323 } |
| 323 | 324 |
| 324 } // namespace chrome | 325 } // namespace chrome |
| OLD | NEW |