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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // Boolean that identifies if the auto-login feature is enabled or not. | 153 // Boolean that identifies if the auto-login feature is enabled or not. |
154 const char kAutologinEnabled[] = "autologin.enabled"; | 154 const char kAutologinEnabled[] = "autologin.enabled"; |
155 | 155 |
156 // Boolean that is true when SafeBrowsing is enabled. | 156 // Boolean that is true when SafeBrowsing is enabled. |
157 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled"; | 157 const char kSafeBrowsingEnabled[] = "safebrowsing.enabled"; |
158 | 158 |
159 // Boolean that is true when SafeBrowsing Malware Report is enabled. | 159 // Boolean that is true when SafeBrowsing Malware Report is enabled. |
160 const char kSafeBrowsingReportingEnabled[] = | 160 const char kSafeBrowsingReportingEnabled[] = |
161 "safebrowsing.reporting_enabled"; | 161 "safebrowsing.reporting_enabled"; |
162 | 162 |
163 // Boolean that is true when Incognito support is enabled. | 163 // Enum that specifies whether Incognito mode is: |
164 const char kIncognitoEnabled[] = "incognito.enabled"; | 164 // 0 - Enabled. Default behaviour. Default mode is available on demand. |
165 | 165 // 1 - Disabled. Used cannot browse pages in Incognito mode. |
166 // Boolean that specifies if all user sessions should be forced into Incognito. | 166 // 2 - Forced. All pages/sessions are forced into Incognito. |
167 const char kIncognitoForced[] = "incognito.forced"; | 167 const char kIncognitoModeAvailability[] = "incognito.mode_availability"; |
168 | 168 |
169 // Boolean that is true when Suggest support is enabled. | 169 // Boolean that is true when Suggest support is enabled. |
170 const char kSearchSuggestEnabled[] = "search.suggest_enabled"; | 170 const char kSearchSuggestEnabled[] = "search.suggest_enabled"; |
171 | 171 |
172 // Boolean that indicates whether the browser should put up a confirmation | 172 // Boolean that indicates whether the browser should put up a confirmation |
173 // window when the user is attempting to quit. Mac only. | 173 // window when the user is attempting to quit. Mac only. |
174 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit"; | 174 const char kConfirmToQuitEnabled[] = "browser.confirm_to_quit"; |
175 | 175 |
176 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie | 176 // OBSOLETE. Enum that specifies whether to enforce a third-party cookie |
177 // blocking policy. This has been superseded by kDefaultContentSettings + | 177 // blocking policy. This has been superseded by kDefaultContentSettings + |
(...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1443 // Whether user-specified handlers for protocols and content types can be | 1443 // Whether user-specified handlers for protocols and content types can be |
1444 // specified. | 1444 // specified. |
1445 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1445 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
1446 | 1446 |
1447 // Integers that specify the policy refresh rate for device- and user-policy in | 1447 // Integers that specify the policy refresh rate for device- and user-policy in |
1448 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1448 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
1449 // by the cloud policy subsystem. | 1449 // by the cloud policy subsystem. |
1450 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1450 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
1451 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1451 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
1452 } // namespace prefs | 1452 } // namespace prefs |
OLD | NEW |