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

Side by Side Diff: components/content_settings/core/common/pref_names.cc

Issue 1865803002: [Policy Experimental] Add policies to allow Cookies and Pop-ups exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync; compile fix in PolicyProvider::GetUserExceptionsUsageSettingForType(). Created 4 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/content_settings/core/common/pref_names.h" 5 #include "components/content_settings/core/common/pref_names.h"
6 6
7 namespace prefs { 7 namespace prefs {
8 8
9 // Boolean that is true if we should unconditionally block third-party cookies, 9 // Boolean that is true if we should block third-party cookies, subject to
10 // regardless of other content settings. 10 // cookies content settings.
11 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; 11 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies";
12 12
13 // Version of the pattern format used to define content settings. 13 // Version of the pattern format used to define content settings.
14 const char kContentSettingsVersion[] = "profile.content_settings.pref_version"; 14 const char kContentSettingsVersion[] = "profile.content_settings.pref_version";
15 15
16 // Integer that specifies the index of the tab the user was on when they 16 // Integer that specifies the index of the tab the user was on when they
17 // last visited the content settings window. 17 // last visited the content settings window.
18 const char kContentSettingsWindowLastTabIndex[] = 18 const char kContentSettingsWindowLastTabIndex[] =
19 "content_settings_window.last_tab_index"; 19 "content_settings_window.last_tab_index";
20 20
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 "profile.managed_plugins_blocked_for_urls"; 69 "profile.managed_plugins_blocked_for_urls";
70 const char kManagedPopupsAllowedForUrls[] = 70 const char kManagedPopupsAllowedForUrls[] =
71 "profile.managed_popups_allowed_for_urls"; 71 "profile.managed_popups_allowed_for_urls";
72 const char kManagedPopupsBlockedForUrls[] = 72 const char kManagedPopupsBlockedForUrls[] =
73 "profile.managed_popups_blocked_for_urls"; 73 "profile.managed_popups_blocked_for_urls";
74 const char kManagedKeygenAllowedForUrls[] = 74 const char kManagedKeygenAllowedForUrls[] =
75 "profile.managed_keygen_allowed_for_urls"; 75 "profile.managed_keygen_allowed_for_urls";
76 const char kManagedKeygenBlockedForUrls[] = 76 const char kManagedKeygenBlockedForUrls[] =
77 "profile.managed_keygen_blocked_for_urls"; 77 "profile.managed_keygen_blocked_for_urls";
78 78
79 // Preferences that are exclusively used to store managed values to control
80 // pref exceptions in content settings.
81 const char kUserCookiesExceptionsUsage[] =
82 "profile.user_exceptions_usage.cookies";
83 const char kUserPopupsExceptionsUsage[] =
84 "profile.user_exceptions_usage.popups";
85
79 } // namespace prefs 86 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698