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 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
817 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; | 817 const char kDeleteDownloadHistory[] = "browser.clear_data.download_history"; |
818 const char kDeleteCache[] = "browser.clear_data.cache"; | 818 const char kDeleteCache[] = "browser.clear_data.cache"; |
819 const char kDeleteCookies[] = "browser.clear_data.cookies"; | 819 const char kDeleteCookies[] = "browser.clear_data.cookies"; |
820 const char kDeletePasswords[] = "browser.clear_data.passwords"; | 820 const char kDeletePasswords[] = "browser.clear_data.passwords"; |
821 const char kDeleteFormData[] = "browser.clear_data.form_data"; | 821 const char kDeleteFormData[] = "browser.clear_data.form_data"; |
822 const char kDeleteHostedAppsData[] = "browser.clear_data.hosted_apps_data"; | 822 const char kDeleteHostedAppsData[] = "browser.clear_data.hosted_apps_data"; |
823 const char kDeauthorizeContentLicenses[] = | 823 const char kDeauthorizeContentLicenses[] = |
824 "browser.clear_data.content_licenses"; | 824 "browser.clear_data.content_licenses"; |
825 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; | 825 const char kDeleteTimePeriod[] = "browser.clear_data.time_period"; |
826 | 826 |
827 //Family Control Prefs | 827 // Family Control Prefs |
828 //Boolean pref controlling whether history deleting is disabled | 828 // Boolean pref controlling whether history deleting is disabled |
829 const char kDeletingBrowserHistoryDisabled[] = "history.deleting_disabled"; | 829 const char kDeletingBrowserHistoryDisabled[] = "history.deleting_disabled"; |
830 | 830 |
831 // Pref to prevent syncing on sign in. | 831 // Pref to prevent syncing on sign in. |
832 const char kDisableSigninSync[] = "signin.sync_disabled"; | 832 const char kDisableSigninSync[] = "signin.sync_disabled"; |
833 | 833 |
834 //An integer pref. Holds one of three values: | 834 // An integer pref. Holds one of three values: |
835 // 0: allow sites outside of the family packs for a managed user. | 835 // 0: allow sites outside of the family packs for a managed user. |
836 // 1: warn user if they try to access sites outside of the family packs. | 836 // 1: warn user if they try to access sites outside of the family packs. |
837 // 2: block sites outside of the family packs for a managed user. | 837 // 2: block sites outside of the family packs for a managed user. |
838 const char kFamilyPackOptions[] = "browser.family_pack_options"; | 838 const char kFamilyPackOptions[] = "browser.family_pack_options"; |
839 | 839 |
840 // A boolean pref controlling the use of a password to lock chrome | 840 // A boolean pref controlling the use of a password to lock chrome |
841 const char kChildLockDisabled[] = "child.locking_disabled"; | 841 const char kChildLockDisabled[] = "child.locking_disabled"; |
842 | 842 |
843 // Boolean pref to define the default values for using spellchecker. | 843 // Boolean pref to define the default values for using spellchecker. |
844 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; | 844 const char kEnableSpellCheck[] = "browser.enable_spellchecking"; |
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2130 const char kRailStartProportion[] = | 2130 const char kRailStartProportion[] = |
2131 "gesture.rail_start_proportion"; | 2131 "gesture.rail_start_proportion"; |
2132 const char kSemiLongPressTimeInSeconds[] = | 2132 const char kSemiLongPressTimeInSeconds[] = |
2133 "gesture.semi_long_press_time_in_seconds"; | 2133 "gesture.semi_long_press_time_in_seconds"; |
2134 const char kTouchScreenFlingAccelerationAdjustment[] = | 2134 const char kTouchScreenFlingAccelerationAdjustment[] = |
2135 "gesture.touchscreen_fling_acceleration_adjustment"; | 2135 "gesture.touchscreen_fling_acceleration_adjustment"; |
2136 #endif | 2136 #endif |
2137 | 2137 |
2138 // Indicates whether the browser is in managed mode. | 2138 // Indicates whether the browser is in managed mode. |
2139 const char kInManagedMode[] = "managed_mode"; | 2139 const char kInManagedMode[] = "managed_mode"; |
| 2140 // Whitelist for manually approved pages. |
| 2141 const char kManagedModeWhitelist[] = "managed_mode.whitelist"; |
| 2142 // Blacklist for manually blocked pages. |
| 2143 const char kManagedModeBlacklist[] = "managed_mode.blacklist"; |
2140 | 2144 |
2141 // Counts how many more times the 'profile on a network share' warning should be | 2145 // Counts how many more times the 'profile on a network share' warning should be |
2142 // shown to the user before the next silence period. | 2146 // shown to the user before the next silence period. |
2143 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; | 2147 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; |
2144 // Tracks the time of the last shown warning. Used to reset | 2148 // Tracks the time of the last shown warning. Used to reset |
2145 // |network_profile.warnings_left| after a silence period. | 2149 // |network_profile.warnings_left| after a silence period. |
2146 const char kNetworkProfileLastWarningTime[] = | 2150 const char kNetworkProfileLastWarningTime[] = |
2147 "network_profile.last_warning_time"; | 2151 "network_profile.last_warning_time"; |
2148 | 2152 |
2149 // 64-bit serialization of the time last policy usage statistics were collected | 2153 // 64-bit serialization of the time last policy usage statistics were collected |
2150 // by UMA_HISTOGRAM_ENUMERATION. | 2154 // by UMA_HISTOGRAM_ENUMERATION. |
2151 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; | 2155 const char kLastPolicyStatisticsUpdate[] = "policy.last_statistics_update"; |
2152 | 2156 |
2153 } // namespace prefs | 2157 } // namespace prefs |
OLD | NEW |