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

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: Comments addressed & Removed default auto select cert setting. 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 1505 matching lines...) Expand 10 before | Expand all | Expand 10 after
1516 const char kManagedDefaultJavaScriptSetting[] = 1516 const char kManagedDefaultJavaScriptSetting[] =
1517 "profile.managed_default_content_settings.javascript"; 1517 "profile.managed_default_content_settings.javascript";
1518 const char kManagedDefaultPluginsSetting[] = 1518 const char kManagedDefaultPluginsSetting[] =
1519 "profile.managed_default_content_settings.plugins"; 1519 "profile.managed_default_content_settings.plugins";
1520 const char kManagedDefaultPopupsSetting[] = 1520 const char kManagedDefaultPopupsSetting[] =
1521 "profile.managed_default_content_settings.popups"; 1521 "profile.managed_default_content_settings.popups";
1522 const char kManagedDefaultGeolocationSetting[] = 1522 const char kManagedDefaultGeolocationSetting[] =
1523 "profile.managed_default_content_settings.geolocation"; 1523 "profile.managed_default_content_settings.geolocation";
1524 const char kManagedDefaultNotificationsSetting[] = 1524 const char kManagedDefaultNotificationsSetting[] =
1525 "profile.managed_default_content_settings.notifications"; 1525 "profile.managed_default_content_settings.notifications";
1526 const char kManagedDefaultAutoSelectCertificateSetting[] =
1527 "profile.managed_default_content_settings.auto_select_certificate";
Mattias Nissler (ping if slow) 2011/09/02 15:06:21 btw., all these prefs are still in the wrong secti
1528 1526
1529 // Preferences that are exclusively used to store managed 1527 // Preferences that are exclusively used to store managed
1530 // content settings patterns. 1528 // content settings patterns.
1531 const char kManagedCookiesAllowedForUrls[] = 1529 const char kManagedCookiesAllowedForUrls[] =
1532 "profile.managed_cookies_allowed_for_urls"; 1530 "profile.managed_cookies_allowed_for_urls";
1533 const char kManagedCookiesBlockedForUrls[] = 1531 const char kManagedCookiesBlockedForUrls[] =
1534 "profile.managed_cookies_blocked_for_urls"; 1532 "profile.managed_cookies_blocked_for_urls";
1535 const char kManagedCookiesSessionOnlyForUrls[] = 1533 const char kManagedCookiesSessionOnlyForUrls[] =
1536 "profile.managed_cookies_sessiononly_for_urls"; 1534 "profile.managed_cookies_sessiononly_for_urls";
1537 const char kManagedImagesAllowedForUrls[] = 1535 const char kManagedImagesAllowedForUrls[] =
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1572 // specified. 1570 // specified.
1573 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1571 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1574 1572
1575 // Integers that specify the policy refresh rate for device- and user-policy in 1573 // Integers that specify the policy refresh rate for device- and user-policy in
1576 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1574 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1577 // by the cloud policy subsystem. 1575 // by the cloud policy subsystem.
1578 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1576 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1579 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1577 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1580 1578
1581 } // namespace prefs 1579 } // 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