| 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/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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 // Used to migrate preferences from local state to user preferences to | 274 // Used to migrate preferences from local state to user preferences to |
| 275 // enable multiple profiles. | 275 // enable multiple profiles. |
| 276 // BITMASK with possible values (see browser_prefs.cc for enum): | 276 // BITMASK with possible values (see browser_prefs.cc for enum): |
| 277 // 0: No preferences migrated. | 277 // 0: No preferences migrated. |
| 278 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList | 278 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList |
| 279 // 2: Browser window preferences migrated: kDevToolsSplitLocation and | 279 // 2: Browser window preferences migrated: kDevToolsSplitLocation and |
| 280 // kBrowserWindowPlacement | 280 // kBrowserWindowPlacement |
| 281 const char kMultipleProfilePrefMigration[] = | 281 const char kMultipleProfilePrefMigration[] = |
| 282 "local_state.multiple_profile_prefs_version"; | 282 "local_state.multiple_profile_prefs_version"; |
| 283 | 283 |
| 284 #if defined(USE_NSS) || defined(USE_OPENSSL) | |
| 285 // Prefs for SSLConfigServicePref. Currently, these are only present on | |
| 286 // and used by NSS/OpenSSL using OSes. | |
| 287 const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled"; | |
| 288 const char kSSL3Enabled[] = "ssl.ssl3.enabled"; | |
| 289 const char kTLS1Enabled[] = "ssl.tls1.enabled"; | |
| 290 #endif | |
| 291 | |
| 292 #if defined(OS_CHROMEOS) | 284 #if defined(OS_CHROMEOS) |
| 293 // An integer pref to initially mute volume if 1. | 285 // An integer pref to initially mute volume if 1. |
| 294 const char kAudioMute[] = "settings.audio.mute"; | 286 const char kAudioMute[] = "settings.audio.mute"; |
| 295 | 287 |
| 296 // A double pref to set initial volume. | 288 // A double pref to set initial volume. |
| 297 const char kAudioVolume[] = "settings.audio.volume"; | 289 const char kAudioVolume[] = "settings.audio.volume"; |
| 298 | 290 |
| 299 // A boolean pref set to true if TapToClick is being done in browser. | 291 // A boolean pref set to true if TapToClick is being done in browser. |
| 300 const char kTapToClickEnabled[] = "settings.touchpad.enable_tap_to_click"; | 292 const char kTapToClickEnabled[] = "settings.touchpad.enable_tap_to_click"; |
| 301 | 293 |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 692 | 684 |
| 693 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. | 685 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. |
| 694 const char kGeolocationContentSettings[] = "geolocation.content_settings"; | 686 const char kGeolocationContentSettings[] = "geolocation.content_settings"; |
| 695 | 687 |
| 696 // Preference to disable 3D APIs (WebGL, Pepper 3D). | 688 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
| 697 const char kDisable3DAPIs[] = "disable_3d_apis"; | 689 const char kDisable3DAPIs[] = "disable_3d_apis"; |
| 698 | 690 |
| 699 // *************** LOCAL STATE *************** | 691 // *************** LOCAL STATE *************** |
| 700 // These are attached to the machine/installation | 692 // These are attached to the machine/installation |
| 701 | 693 |
| 694 // Prefs for SSLConfigServicePref. |
| 695 const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled"; |
| 696 const char kSSL3Enabled[] = "ssl.ssl3.enabled"; |
| 697 const char kTLS1Enabled[] = "ssl.tls1.enabled"; |
| 698 |
| 702 // The metrics client GUID and session ID. | 699 // The metrics client GUID and session ID. |
| 703 const char kMetricsClientID[] = "user_experience_metrics.client_id"; | 700 const char kMetricsClientID[] = "user_experience_metrics.client_id"; |
| 704 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; | 701 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; |
| 705 | 702 |
| 706 // Date/time when the current metrics profile ID was created | 703 // Date/time when the current metrics profile ID was created |
| 707 // (which hopefully corresponds to first run). | 704 // (which hopefully corresponds to first run). |
| 708 const char kMetricsClientIDTimestamp[] = | 705 const char kMetricsClientIDTimestamp[] = |
| 709 "user_experience_metrics.client_id_timestamp"; | 706 "user_experience_metrics.client_id_timestamp"; |
| 710 | 707 |
| 711 // Boolean that specifies whether or not crash reporting and metrics reporting | 708 // Boolean that specifies whether or not crash reporting and metrics reporting |
| (...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1278 "profile.managed_popups_blocked_for_urls"; | 1275 "profile.managed_popups_blocked_for_urls"; |
| 1279 | 1276 |
| 1280 // Dictionary for storing the set of known background pages (keys are extension | 1277 // Dictionary for storing the set of known background pages (keys are extension |
| 1281 // IDs of background page owners, value is a boolean that is true if the user | 1278 // IDs of background page owners, value is a boolean that is true if the user |
| 1282 // needs to acknowledge this page. | 1279 // needs to acknowledge this page. |
| 1283 const char kKnownBackgroundPages[] = "background_pages.known"; | 1280 const char kKnownBackgroundPages[] = "background_pages.known"; |
| 1284 | 1281 |
| 1285 // Dictionary that maps URL schemes (protocols) to URL handlers. | 1282 // Dictionary that maps URL schemes (protocols) to URL handlers. |
| 1286 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; | 1283 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; |
| 1287 } // namespace prefs | 1284 } // namespace prefs |
| OLD | NEW |