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

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

Issue 8572006: Add policies to control the disk cache size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: This time two more for realz. Created 9 years, 1 month 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/functional/policy_prefs_ui.py » ('j') | 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 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after
1517 // notification has been shown to user. 1517 // notification has been shown to user.
1518 const char kCarrierDealPromoShown[] = 1518 const char kCarrierDealPromoShown[] =
1519 "settings.internet.mobile.carrier_deal_promo_shown"; 1519 "settings.internet.mobile.carrier_deal_promo_shown";
1520 #endif 1520 #endif
1521 1521
1522 // Whether there is a Flash version installed that supports clearing LSO data. 1522 // Whether there is a Flash version installed that supports clearing LSO data.
1523 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; 1523 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled";
1524 1524
1525 // String which specifies where to store the disk cache. 1525 // String which specifies where to store the disk cache.
1526 const char kDiskCacheDir[] = "browser.disk_cache_dir"; 1526 const char kDiskCacheDir[] = "browser.disk_cache_dir";
1527 // Pref name for the policy specifying the maximal cache size.
1528 const char kDiskCacheSize[] = "browser.disk_cache_size";
1529 // Pref name for the policy specifying the maximal media cache size.
1530 const char kMediaCacheSize[] = "browser.media_cache_size";
1527 1531
1528 // Specifies the release channel that the device should be locked to. 1532 // Specifies the release channel that the device should be locked to.
1529 // Possible values: "stable-channel", "beta-channel", "dev-channel", or an 1533 // Possible values: "stable-channel", "beta-channel", "dev-channel", or an
1530 // empty string, in which case the value will be ignored. 1534 // empty string, in which case the value will be ignored.
1531 // TODO(dubroy): This preference may not be necessary once 1535 // TODO(dubroy): This preference may not be necessary once
1532 // http://crosbug.com/17015 is implemented and the update engine can just 1536 // http://crosbug.com/17015 is implemented and the update engine can just
1533 // fetch the correct value from the policy. 1537 // fetch the correct value from the policy.
1534 const char kChromeOsReleaseChannel[] = "cros.system.releaseChannel"; 1538 const char kChromeOsReleaseChannel[] = "cros.system.releaseChannel";
1535 1539
1536 // *************** SERVICE PREFS *************** 1540 // *************** SERVICE PREFS ***************
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1640 1644
1641 // String that represents the recovery component last downloaded version. This 1645 // String that represents the recovery component last downloaded version. This
1642 // takes the usual 'a.b.c.d' notation. 1646 // takes the usual 'a.b.c.d' notation.
1643 const char kRecoveryComponentVersion[] = "recovery_component.version"; 1647 const char kRecoveryComponentVersion[] = "recovery_component.version";
1644 1648
1645 // String that stores the component updater last known state. This is used for 1649 // String that stores the component updater last known state. This is used for
1646 // troubleshooting. 1650 // troubleshooting.
1647 const char kComponentUpdaterState[] = "component_updater.state"; 1651 const char kComponentUpdaterState[] = "component_updater.state";
1648 1652
1649 } // namespace prefs 1653 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/functional/policy_prefs_ui.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698