| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
| 6 | 6 |
| 7 namespace prefs { | 7 namespace prefs { |
| 8 | 8 |
| 9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
| 10 // These are attached to the user profile | 10 // These are attached to the user profile |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 // An adaptively identified list of domain names to be pre-fetched during the | 186 // An adaptively identified list of domain names to be pre-fetched during the |
| 187 // next startup, based on what was actually needed during this startup. | 187 // next startup, based on what was actually needed during this startup. |
| 188 const wchar_t kDnsStartupPrefetchList[] = L"StartupDNSPrefetchList"; | 188 const wchar_t kDnsStartupPrefetchList[] = L"StartupDNSPrefetchList"; |
| 189 | 189 |
| 190 // A list of host names used to fetch web pages, and their commonly used | 190 // A list of host names used to fetch web pages, and their commonly used |
| 191 // sub-resource hostnames (and expected latency benefits from pre-resolving such | 191 // sub-resource hostnames (and expected latency benefits from pre-resolving such |
| 192 // sub-resource hostnames). | 192 // sub-resource hostnames). |
| 193 // This list is adaptively grown and pruned. | 193 // This list is adaptively grown and pruned. |
| 194 extern const wchar_t kDnsHostReferralList[] = L"HostReferralList"; | 194 extern const wchar_t kDnsHostReferralList[] = L"HostReferralList"; |
| 195 | 195 |
| 196 #if defined(OS_LINUX) | 196 #if defined(USE_NSS) |
| 197 // Prefs for SSLConfigServicePref. Currently, these are only present on | 197 // Prefs for SSLConfigServicePref. Currently, these are only present on |
| 198 // and used by Linux. | 198 // and used by Linux and FreeBSD. |
| 199 extern const wchar_t kCertRevocationCheckingEnabled[] = | 199 extern const wchar_t kCertRevocationCheckingEnabled[] = |
| 200 L"ssl.rev_checking.enabled"; | 200 L"ssl.rev_checking.enabled"; |
| 201 extern const wchar_t kSSL2Enabled[] = L"ssl.ssl2.enabled"; | 201 extern const wchar_t kSSL2Enabled[] = L"ssl.ssl2.enabled"; |
| 202 extern const wchar_t kSSL3Enabled[] = L"ssl.ssl3.enabled"; | 202 extern const wchar_t kSSL3Enabled[] = L"ssl.ssl3.enabled"; |
| 203 extern const wchar_t kTLS1Enabled[] = L"ssl.tls1.enabled"; | 203 extern const wchar_t kTLS1Enabled[] = L"ssl.tls1.enabled"; |
| 204 #endif | 204 #endif |
| 205 | 205 |
| 206 // The disabled messages in IPC logging. | 206 // The disabled messages in IPC logging. |
| 207 const wchar_t kIpcDisabledMessages[] = L"ipc_log_disabled_messages"; | 207 const wchar_t kIpcDisabledMessages[] = L"ipc_log_disabled_messages"; |
| 208 | 208 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 // Boolean pref to define the default values for using auto spell correct. | 253 // Boolean pref to define the default values for using auto spell correct. |
| 254 const wchar_t kEnableAutoSpellCorrect[] = L"browser.enable_autospellcorrect"; | 254 const wchar_t kEnableAutoSpellCorrect[] = L"browser.enable_autospellcorrect"; |
| 255 | 255 |
| 256 // String pref to define the default values for print overlays. | 256 // String pref to define the default values for print overlays. |
| 257 const wchar_t kPrintingPageHeaderLeft[] = L"printing.page.header.left"; | 257 const wchar_t kPrintingPageHeaderLeft[] = L"printing.page.header.left"; |
| 258 const wchar_t kPrintingPageHeaderCenter[] = L"printing.page.header.center"; | 258 const wchar_t kPrintingPageHeaderCenter[] = L"printing.page.header.center"; |
| 259 const wchar_t kPrintingPageHeaderRight[] = L"printing.page.header.right"; | 259 const wchar_t kPrintingPageHeaderRight[] = L"printing.page.header.right"; |
| 260 const wchar_t kPrintingPageFooterLeft[] = L"printing.page.footer.left"; | 260 const wchar_t kPrintingPageFooterLeft[] = L"printing.page.footer.left"; |
| 261 const wchar_t kPrintingPageFooterCenter[] = L"printing.page.footer.center"; | 261 const wchar_t kPrintingPageFooterCenter[] = L"printing.page.footer.center"; |
| 262 const wchar_t kPrintingPageFooterRight[] = L"printing.page.footer.right"; | 262 const wchar_t kPrintingPageFooterRight[] = L"printing.page.footer.right"; |
| 263 #if defined(OS_LINUX) | 263 #if defined(USE_X11) |
| 264 // GTK specific preference on whether we should match the system GTK theme. | 264 // GTK specific preference on whether we should match the system GTK theme. |
| 265 const wchar_t kUsesSystemTheme[] = L"extensions.theme.use_system"; | 265 const wchar_t kUsesSystemTheme[] = L"extensions.theme.use_system"; |
| 266 #endif | 266 #endif |
| 267 const wchar_t kCurrentThemeID[] = L"extensions.theme.id"; | 267 const wchar_t kCurrentThemeID[] = L"extensions.theme.id"; |
| 268 const wchar_t kCurrentThemeImages[] = L"extensions.theme.images"; | 268 const wchar_t kCurrentThemeImages[] = L"extensions.theme.images"; |
| 269 const wchar_t kCurrentThemeColors[] = L"extensions.theme.colors"; | 269 const wchar_t kCurrentThemeColors[] = L"extensions.theme.colors"; |
| 270 const wchar_t kCurrentThemeTints[] = L"extensions.theme.tints"; | 270 const wchar_t kCurrentThemeTints[] = L"extensions.theme.tints"; |
| 271 const wchar_t kCurrentThemeDisplayProperties[] = | 271 const wchar_t kCurrentThemeDisplayProperties[] = |
| 272 L"extensions.theme.properties"; | 272 L"extensions.theme.properties"; |
| 273 | 273 |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 580 // Integer location of the split bar in the browser view. | 580 // Integer location of the split bar in the browser view. |
| 581 const wchar_t kDevToolsSplitLocation[] = L"devtools.split_location"; | 581 const wchar_t kDevToolsSplitLocation[] = L"devtools.split_location"; |
| 582 | 582 |
| 583 // 64-bit integer serialization of the base::Time when the last sync occured. | 583 // 64-bit integer serialization of the base::Time when the last sync occured. |
| 584 const wchar_t kSyncLastSyncedTime[] = L"sync.last_synced_time"; | 584 const wchar_t kSyncLastSyncedTime[] = L"sync.last_synced_time"; |
| 585 | 585 |
| 586 // Boolean specifying whether the user finished setting up sync. | 586 // Boolean specifying whether the user finished setting up sync. |
| 587 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; | 587 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; |
| 588 | 588 |
| 589 } // namespace prefs | 589 } // namespace prefs |
| OLD | NEW |