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