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

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

Issue 6542048: Add content_settings::PolicyProvider and a set of new policies to managed content settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 10 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 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 1221 matching lines...) Expand 10 before | Expand all | Expand 10 after
1232 "profile.managed_default_content_settings.cookies"; 1232 "profile.managed_default_content_settings.cookies";
1233 const char kManagedDefaultImagesSetting[] = 1233 const char kManagedDefaultImagesSetting[] =
1234 "profile.managed_default_content_settings.images"; 1234 "profile.managed_default_content_settings.images";
1235 const char kManagedDefaultJavaScriptSetting[] = 1235 const char kManagedDefaultJavaScriptSetting[] =
1236 "profile.managed_default_content_settings.javascript"; 1236 "profile.managed_default_content_settings.javascript";
1237 const char kManagedDefaultPluginsSetting[] = 1237 const char kManagedDefaultPluginsSetting[] =
1238 "profile.managed_default_content_settings.plugins"; 1238 "profile.managed_default_content_settings.plugins";
1239 const char kManagedDefaultPopupsSetting[] = 1239 const char kManagedDefaultPopupsSetting[] =
1240 "profile.managed_default_content_settings.popups"; 1240 "profile.managed_default_content_settings.popups";
1241 1241
1242 // Preferences that are exclusivly used to store managed
1243 // content settings patterns.
1244 const char kManagedCookiesAllowedForUrls[] =
1245 "profile.managed_cookies_allowed_for_urls";
1246 const char kManagedCookiesBlockedForUrls[] =
1247 "profile.managed_cookies_blocked_for_urls";
1248 const char kManagedCookiesSessionOnlyForUrls[] =
1249 "profile.managed_cookies_sessiononly_for_urls";
1250 const char kManagedImagesAllowedForUrls[] =
1251 "profile.managed_images_allowed_for_urls";
1252 const char kManagedImagesBlockedForUrls[] =
1253 "profile.managed_images_blocked_for_urls";
1254 const char kManagedJavaScriptAllowedForUrls[] =
1255 "profile.managed_javascript_allowed_for_urls";
1256 const char kManagedJavaScriptBlockedForUrls[] =
1257 "profile.managed_javascript_blocked_for_urls";
1258 const char kManagedPluginsAllowedForUrls[] =
1259 "profile.managed_plugins_allowed_for_urls";
1260 const char kManagedPluginsBlockedForUrls[] =
1261 "profile.managed_plugins_blocked_for_urls";
1262 const char kManagedPluginsAskForUrls[] =
1263 "profile.managed_plugins_ask_for_urls";
1264 const char kManagedPopupsAllowedForUrls[] =
1265 "profile.managed_popups_allowed_for_urls";
1266 const char kManagedPopupsBlockedForUrls[] =
1267 "profile.managed_popups_blocked_for_urls";
1268
1242 // Dictionary for storing the set of known background pages (keys are extension 1269 // Dictionary for storing the set of known background pages (keys are extension
1243 // IDs of background page owners, value is a boolean that is true if the user 1270 // IDs of background page owners, value is a boolean that is true if the user
1244 // needs to acknowledge this page. 1271 // needs to acknowledge this page.
1245 const char kKnownBackgroundPages[] = "background_pages.known"; 1272 const char kKnownBackgroundPages[] = "background_pages.known";
1246 } // namespace prefs 1273 } // 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