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 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 const char kEnableTranslate[] = "translate.enabled"; | 692 const char kEnableTranslate[] = "translate.enabled"; |
693 | 693 |
694 // Boolean that is true when the bookmark bar for the new tab page is enabled. | 694 // Boolean that is true when the bookmark bar for the new tab page is enabled. |
695 const char kEnableBookmarkBar[] = "bookmark_bar.enabled"; | 695 const char kEnableBookmarkBar[] = "bookmark_bar.enabled"; |
696 | 696 |
697 const char kPinnedTabs[] = "pinned_tabs"; | 697 const char kPinnedTabs[] = "pinned_tabs"; |
698 | 698 |
699 // Boolean that is true when HTTP throttling is enabled. | 699 // Boolean that is true when HTTP throttling is enabled. |
700 const char kHttpThrottlingEnabled[] = "http_throttling.enabled"; | 700 const char kHttpThrottlingEnabled[] = "http_throttling.enabled"; |
701 | 701 |
702 // Integer that specifies the policy refresh rate for policy in milliseconds. | |
703 // Not all values are meaningful, so it is clamped to a sane range by the cloud | |
704 // policy subsystem. | |
705 const char kPolicyRefreshRate[] = "policy.refresh_rate"; | |
706 | |
707 // Integer containing the default Geolocation content setting. | 702 // Integer containing the default Geolocation content setting. |
708 const char kGeolocationDefaultContentSetting[] = | 703 const char kGeolocationDefaultContentSetting[] = |
709 "geolocation.default_content_setting"; | 704 "geolocation.default_content_setting"; |
710 | 705 |
711 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. | 706 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. |
712 const char kGeolocationContentSettings[] = "geolocation.content_settings"; | 707 const char kGeolocationContentSettings[] = "geolocation.content_settings"; |
713 | 708 |
714 // Preference to disable 3D APIs (WebGL, Pepper 3D). | 709 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
715 const char kDisable3DAPIs[] = "disable_3d_apis"; | 710 const char kDisable3DAPIs[] = "disable_3d_apis"; |
716 | 711 |
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1357 const char kRegisteredProtocolHandlers[] = | 1352 const char kRegisteredProtocolHandlers[] = |
1358 "custom_handlers.registered_protocol_handlers"; | 1353 "custom_handlers.registered_protocol_handlers"; |
1359 | 1354 |
1360 // List of protocol handlers the user has requested not to be asked about again. | 1355 // List of protocol handlers the user has requested not to be asked about again. |
1361 const char kIgnoredProtocolHandlers[] = | 1356 const char kIgnoredProtocolHandlers[] = |
1362 "custom_handlers.ignored_protocol_handlers"; | 1357 "custom_handlers.ignored_protocol_handlers"; |
1363 | 1358 |
1364 // Whether user-specified handlers for protocols and content types can be | 1359 // Whether user-specified handlers for protocols and content types can be |
1365 // specified. | 1360 // specified. |
1366 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1361 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
| 1362 |
| 1363 // Integers that specify the policy refresh rate for device- and user-policy in |
| 1364 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
| 1365 // by the cloud policy subsystem. |
| 1366 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
| 1367 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
1367 } // namespace prefs | 1368 } // namespace prefs |
OLD | NEW |