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

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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1235 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 "profile.managed_default_content_settings.cookies"; 1246 "profile.managed_default_content_settings.cookies";
1247 const char kManagedDefaultImagesSetting[] = 1247 const char kManagedDefaultImagesSetting[] =
1248 "profile.managed_default_content_settings.images"; 1248 "profile.managed_default_content_settings.images";
1249 const char kManagedDefaultJavaScriptSetting[] = 1249 const char kManagedDefaultJavaScriptSetting[] =
1250 "profile.managed_default_content_settings.javascript"; 1250 "profile.managed_default_content_settings.javascript";
1251 const char kManagedDefaultPluginsSetting[] = 1251 const char kManagedDefaultPluginsSetting[] =
1252 "profile.managed_default_content_settings.plugins"; 1252 "profile.managed_default_content_settings.plugins";
1253 const char kManagedDefaultPopupsSetting[] = 1253 const char kManagedDefaultPopupsSetting[] =
1254 "profile.managed_default_content_settings.popups"; 1254 "profile.managed_default_content_settings.popups";
1255 1255
1256 // Preferences that are exclusivly used to store managed
1257 // content settings patterns.
1258 const char kManagedCookiesAllowedForUrls[] =
1259 "profile.managed_cookies_allowed_for_urls";
1260 const char kManagedCookiesBlockedForUrls[] =
1261 "profile.managed_cookies_blocked_for_urls";
1262 const char kManagedCookiesSessionOnlyForUrls[] =
1263 "profile.managed_cookies_sessiononly_for_urls";
1264 const char kManagedImagesAllowedForUrls[] =
1265 "profile.managed_images_allowed_for_urls";
1266 const char kManagedImagesBlockedForUrls[] =
1267 "profile.managed_images_blocked_for_urls";
1268 const char kManagedJavaScriptAllowedForUrls[] =
1269 "profile.managed_javascript_allowed_for_urls";
1270 const char kManagedJavaScriptBlockedForUrls[] =
1271 "profile.managed_javascript_blocked_for_urls";
1272 const char kManagedPluginsAllowedForUrls[] =
1273 "profile.managed_plugins_allowed_for_urls";
1274 const char kManagedPluginsBlockedForUrls[] =
1275 "profile.managed_plugins_blocked_for_urls";
1276 const char kManagedPopupsAllowedForUrls[] =
1277 "profile.managed_popups_allowed_for_urls";
1278 const char kManagedPopupsBlockedForUrls[] =
1279 "profile.managed_popups_blocked_for_urls";
1280
1256 // Dictionary for storing the set of known background pages (keys are extension 1281 // Dictionary for storing the set of known background pages (keys are extension
1257 // IDs of background page owners, value is a boolean that is true if the user 1282 // IDs of background page owners, value is a boolean that is true if the user
1258 // needs to acknowledge this page. 1283 // needs to acknowledge this page.
1259 const char kKnownBackgroundPages[] = "background_pages.known"; 1284 const char kKnownBackgroundPages[] = "background_pages.known";
1260 1285
1261 // Dictionary that maps URL schemes (protocols) to URL handlers. 1286 // Dictionary that maps URL schemes (protocols) to URL handlers.
1262 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; 1287 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers";
1263 } // namespace prefs 1288 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698