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

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: Remove unrelated changes from patchset. 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 1508 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 const char kManagedDefaultJavaScriptSetting[] = 1519 const char kManagedDefaultJavaScriptSetting[] =
1520 "profile.managed_default_content_settings.javascript"; 1520 "profile.managed_default_content_settings.javascript";
1521 const char kManagedDefaultPluginsSetting[] = 1521 const char kManagedDefaultPluginsSetting[] =
1522 "profile.managed_default_content_settings.plugins"; 1522 "profile.managed_default_content_settings.plugins";
1523 const char kManagedDefaultPopupsSetting[] = 1523 const char kManagedDefaultPopupsSetting[] =
1524 "profile.managed_default_content_settings.popups"; 1524 "profile.managed_default_content_settings.popups";
1525 const char kManagedDefaultGeolocationSetting[] = 1525 const char kManagedDefaultGeolocationSetting[] =
1526 "profile.managed_default_content_settings.geolocation"; 1526 "profile.managed_default_content_settings.geolocation";
1527 const char kManagedDefaultNotificationsSetting[] = 1527 const char kManagedDefaultNotificationsSetting[] =
1528 "profile.managed_default_content_settings.notifications"; 1528 "profile.managed_default_content_settings.notifications";
1529 const char kManagedDefaultAutoSelectCertificateSetting[] =
1530 "profile.managed_default_content_settings.auto_select_certificate";
1531 1529
1532 // Preferences that are exclusively used to store managed 1530 // Preferences that are exclusively used to store managed
1533 // content settings patterns. 1531 // content settings patterns.
1534 const char kManagedCookiesAllowedForUrls[] = 1532 const char kManagedCookiesAllowedForUrls[] =
1535 "profile.managed_cookies_allowed_for_urls"; 1533 "profile.managed_cookies_allowed_for_urls";
1536 const char kManagedCookiesBlockedForUrls[] = 1534 const char kManagedCookiesBlockedForUrls[] =
1537 "profile.managed_cookies_blocked_for_urls"; 1535 "profile.managed_cookies_blocked_for_urls";
1538 const char kManagedCookiesSessionOnlyForUrls[] = 1536 const char kManagedCookiesSessionOnlyForUrls[] =
1539 "profile.managed_cookies_sessiononly_for_urls"; 1537 "profile.managed_cookies_sessiononly_for_urls";
1540 const char kManagedImagesAllowedForUrls[] = 1538 const char kManagedImagesAllowedForUrls[] =
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 // specified. 1573 // specified.
1576 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1574 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1577 1575
1578 // Integers that specify the policy refresh rate for device- and user-policy in 1576 // Integers that specify the policy refresh rate for device- and user-policy in
1579 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1577 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1580 // by the cloud policy subsystem. 1578 // by the cloud policy subsystem.
1581 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1579 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1582 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1580 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1583 1581
1584 } // namespace prefs 1582 } // 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