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

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, 9 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 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 "profile.managed_default_content_settings.cookies"; 1239 "profile.managed_default_content_settings.cookies";
1240 const char kManagedDefaultImagesSetting[] = 1240 const char kManagedDefaultImagesSetting[] =
1241 "profile.managed_default_content_settings.images"; 1241 "profile.managed_default_content_settings.images";
1242 const char kManagedDefaultJavaScriptSetting[] = 1242 const char kManagedDefaultJavaScriptSetting[] =
1243 "profile.managed_default_content_settings.javascript"; 1243 "profile.managed_default_content_settings.javascript";
1244 const char kManagedDefaultPluginsSetting[] = 1244 const char kManagedDefaultPluginsSetting[] =
1245 "profile.managed_default_content_settings.plugins"; 1245 "profile.managed_default_content_settings.plugins";
1246 const char kManagedDefaultPopupsSetting[] = 1246 const char kManagedDefaultPopupsSetting[] =
1247 "profile.managed_default_content_settings.popups"; 1247 "profile.managed_default_content_settings.popups";
1248 1248
1249 // Preferences that are exclusivly used to store managed
1250 // content settings patterns.
1251 const char kManagedCookiesAllowedForUrls[] =
1252 "profile.managed_cookies_allowed_for_urls";
1253 const char kManagedCookiesBlockedForUrls[] =
1254 "profile.managed_cookies_blocked_for_urls";
1255 const char kManagedCookiesSessionOnlyForUrls[] =
1256 "profile.managed_cookies_sessiononly_for_urls";
1257 const char kManagedImagesAllowedForUrls[] =
1258 "profile.managed_images_allowed_for_urls";
1259 const char kManagedImagesBlockedForUrls[] =
1260 "profile.managed_images_blocked_for_urls";
1261 const char kManagedJavaScriptAllowedForUrls[] =
1262 "profile.managed_javascript_allowed_for_urls";
1263 const char kManagedJavaScriptBlockedForUrls[] =
1264 "profile.managed_javascript_blocked_for_urls";
1265 const char kManagedPluginsAllowedForUrls[] =
1266 "profile.managed_plugins_allowed_for_urls";
1267 const char kManagedPluginsBlockedForUrls[] =
1268 "profile.managed_plugins_blocked_for_urls";
1269 const char kManagedPopupsAllowedForUrls[] =
1270 "profile.managed_popups_allowed_for_urls";
1271 const char kManagedPopupsBlockedForUrls[] =
1272 "profile.managed_popups_blocked_for_urls";
1273
1249 // Dictionary for storing the set of known background pages (keys are extension 1274 // Dictionary for storing the set of known background pages (keys are extension
1250 // IDs of background page owners, value is a boolean that is true if the user 1275 // IDs of background page owners, value is a boolean that is true if the user
1251 // needs to acknowledge this page. 1276 // needs to acknowledge this page.
1252 const char kKnownBackgroundPages[] = "background_pages.known"; 1277 const char kKnownBackgroundPages[] = "background_pages.known";
1253 1278
1254 // Dictionary that maps URL schemes (protocols) to URL handlers. 1279 // Dictionary that maps URL schemes (protocols) to URL handlers.
1255 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; 1280 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers";
1256 } // namespace prefs 1281 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698