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

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

Issue 7828022: Add a method to the HostContentSettings map to return the |Value| of a content setting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update example value of AutoSelectCertificate policy in policy_template.json Created 9 years, 3 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
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 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1525 const char kManagedDefaultJavaScriptSetting[] = 1525 const char kManagedDefaultJavaScriptSetting[] =
1526 "profile.managed_default_content_settings.javascript"; 1526 "profile.managed_default_content_settings.javascript";
1527 const char kManagedDefaultPluginsSetting[] = 1527 const char kManagedDefaultPluginsSetting[] =
1528 "profile.managed_default_content_settings.plugins"; 1528 "profile.managed_default_content_settings.plugins";
1529 const char kManagedDefaultPopupsSetting[] = 1529 const char kManagedDefaultPopupsSetting[] =
1530 "profile.managed_default_content_settings.popups"; 1530 "profile.managed_default_content_settings.popups";
1531 const char kManagedDefaultGeolocationSetting[] = 1531 const char kManagedDefaultGeolocationSetting[] =
1532 "profile.managed_default_content_settings.geolocation"; 1532 "profile.managed_default_content_settings.geolocation";
1533 const char kManagedDefaultNotificationsSetting[] = 1533 const char kManagedDefaultNotificationsSetting[] =
1534 "profile.managed_default_content_settings.notifications"; 1534 "profile.managed_default_content_settings.notifications";
1535 const char kManagedDefaultAutoSelectCertificateSetting[] =
1536 "profile.managed_default_content_settings.auto_select_certificate";
1537 1535
1538 // Preferences that are exclusively used to store managed 1536 // Preferences that are exclusively used to store managed
1539 // content settings patterns. 1537 // content settings patterns.
1540 const char kManagedCookiesAllowedForUrls[] = 1538 const char kManagedCookiesAllowedForUrls[] =
1541 "profile.managed_cookies_allowed_for_urls"; 1539 "profile.managed_cookies_allowed_for_urls";
1542 const char kManagedCookiesBlockedForUrls[] = 1540 const char kManagedCookiesBlockedForUrls[] =
1543 "profile.managed_cookies_blocked_for_urls"; 1541 "profile.managed_cookies_blocked_for_urls";
1544 const char kManagedCookiesSessionOnlyForUrls[] = 1542 const char kManagedCookiesSessionOnlyForUrls[] =
1545 "profile.managed_cookies_sessiononly_for_urls"; 1543 "profile.managed_cookies_sessiononly_for_urls";
1546 const char kManagedImagesAllowedForUrls[] = 1544 const char kManagedImagesAllowedForUrls[] =
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1581 // specified. 1579 // specified.
1582 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1580 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1583 1581
1584 // Integers that specify the policy refresh rate for device- and user-policy in 1582 // Integers that specify the policy refresh rate for device- and user-policy in
1585 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1583 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1586 // by the cloud policy subsystem. 1584 // by the cloud policy subsystem.
1587 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1585 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1588 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1586 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1589 1587
1590 } // namespace prefs 1588 } // namespace prefs
OLDNEW
« chrome/browser/content_settings/host_content_settings_map.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698