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