| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 | 8 |
| 9 namespace prefs { | 9 namespace prefs { |
| 10 | 10 |
| (...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 const char kPluginsEnabledPlugins[] = "plugins.plugins_enabled"; | 836 const char kPluginsEnabledPlugins[] = "plugins.plugins_enabled"; |
| 837 | 837 |
| 838 // When first shipped, the pdf plugin will be disabled by default. When we | 838 // When first shipped, the pdf plugin will be disabled by default. When we |
| 839 // enable it by default, we'll want to do so only once. | 839 // enable it by default, we'll want to do so only once. |
| 840 const char kPluginsEnabledInternalPDF[] = "plugins.enabled_internal_pdf3"; | 840 const char kPluginsEnabledInternalPDF[] = "plugins.enabled_internal_pdf3"; |
| 841 | 841 |
| 842 // When first shipped, the nacl plugin will be disabled by default. When we | 842 // When first shipped, the nacl plugin will be disabled by default. When we |
| 843 // enable it by default, we'll want to do so only once. | 843 // enable it by default, we'll want to do so only once. |
| 844 const char kPluginsEnabledNaCl[] = "plugins.enabled_nacl"; | 844 const char kPluginsEnabledNaCl[] = "plugins.enabled_nacl"; |
| 845 | 845 |
| 846 // When bundled NPAPI Flash is removed, if at that point it is enabled while |
| 847 // Pepper Flash is disabled, we would like to turn on Pepper Flash. And we will |
| 848 // want to do so only once. |
| 849 const char kPluginsMigratedToPepperFlash[] = "plugins.migrated_to_pepper_flash"; |
| 850 |
| 846 #if !defined(OS_ANDROID) | 851 #if !defined(OS_ANDROID) |
| 847 const char kPluginsShowSetReaderDefaultInfobar[] = | 852 const char kPluginsShowSetReaderDefaultInfobar[] = |
| 848 "plugins.show_set_reader_default"; | 853 "plugins.show_set_reader_default"; |
| 849 | 854 |
| 850 // Whether about:plugins is shown in the details mode or not. | 855 // Whether about:plugins is shown in the details mode or not. |
| 851 const char kPluginsShowDetails[] = "plugins.show_details"; | 856 const char kPluginsShowDetails[] = "plugins.show_details"; |
| 852 #endif | 857 #endif |
| 853 | 858 |
| 854 // Boolean that indicates whether outdated plugins are allowed or not. | 859 // Boolean that indicates whether outdated plugins are allowed or not. |
| 855 const char kPluginsAllowOutdated[] = "plugins.allow_outdated"; | 860 const char kPluginsAllowOutdated[] = "plugins.allow_outdated"; |
| (...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2010 | 2015 |
| 2011 // Counts how many more times the 'profile on a network share' warning should be | 2016 // Counts how many more times the 'profile on a network share' warning should be |
| 2012 // shown to the user before the next silence period. | 2017 // shown to the user before the next silence period. |
| 2013 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 2018 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
| 2014 // Tracks the time of the last shown warning. Used to reset | 2019 // Tracks the time of the last shown warning. Used to reset |
| 2015 // |network_profile.warnings_left| after a silence period. | 2020 // |network_profile.warnings_left| after a silence period. |
| 2016 const char kNetworkProfileLastWarningTime[] = | 2021 const char kNetworkProfileLastWarningTime[] = |
| 2017 "network_profile.last_warning_time"; | 2022 "network_profile.last_warning_time"; |
| 2018 | 2023 |
| 2019 } // namespace prefs | 2024 } // namespace prefs |
| OLD | NEW |