Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Side by Side Diff: chrome/common/pref_names.cc

Issue 7014036: Split the policy refresh rate preference into user- and device-policy refresh rate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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. 702 // Integers that specify the policy refresh rate for device- and user-policy in
703 // Not all values are meaningful, so it is clamped to a sane range by the cloud 703 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
704 // policy subsystem. 704 // by the cloud policy subsystem.
705 const char kPolicyRefreshRate[] = "policy.refresh_rate"; 705 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
706 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
Mattias Nissler (ping if slow) 2011/05/13 09:45:03 Same here.
sfeuz 2011/05/17 14:27:42 Done.
706 707
707 // Integer containing the default Geolocation content setting. 708 // Integer containing the default Geolocation content setting.
708 const char kGeolocationDefaultContentSetting[] = 709 const char kGeolocationDefaultContentSetting[] =
709 "geolocation.default_content_setting"; 710 "geolocation.default_content_setting";
710 711
711 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. 712 // Dictionary that maps [frame, toplevel] to their Geolocation content setting.
712 const char kGeolocationContentSettings[] = "geolocation.content_settings"; 713 const char kGeolocationContentSettings[] = "geolocation.content_settings";
713 714
714 // Preference to disable 3D APIs (WebGL, Pepper 3D). 715 // Preference to disable 3D APIs (WebGL, Pepper 3D).
715 const char kDisable3DAPIs[] = "disable_3d_apis"; 716 const char kDisable3DAPIs[] = "disable_3d_apis";
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 "custom_handlers.registered_protocol_handlers"; 1356 "custom_handlers.registered_protocol_handlers";
1356 1357
1357 // List of protocol handlers the user has requested not to be asked about again. 1358 // List of protocol handlers the user has requested not to be asked about again.
1358 const char kIgnoredProtocolHandlers[] = 1359 const char kIgnoredProtocolHandlers[] =
1359 "custom_handlers.ignored_protocol_handlers"; 1360 "custom_handlers.ignored_protocol_handlers";
1360 1361
1361 // Whether user-specified handlers for protocols and content types can be 1362 // Whether user-specified handlers for protocols and content types can be
1362 // specified. 1363 // specified.
1363 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1364 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1364 } // namespace prefs 1365 } // namespace prefs
OLDNEW
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698