|
|
[Policy Experimental] Add policies to allow Cookies and Pop-ups exceptions.
Previously users can always set preference exceptions in chrome://settings
to allow or block contents. If policy default settings are set, then
user exceptions become ineffective, but remain editable. This CL aims to:
- Make user exceptions take precedence over policy default settings, if
allowed by policy.
- Fix related UI issues in chrome://settings
We added new policies (for cookies and pop-ups) to allow admin to
control whether the user preference exceptions:
- Are active iff policy default settings are set (current behavior).
- Can take precidence over policy default settings.
BUG= 601057
Total comments: 1
Total comments: 14
Total comments: 44
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+643 lines, -66 lines) |
Patch |
 |
M |
chrome/browser/content_settings/content_settings_policy_provider_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/content_settings/host_content_settings_map_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+145 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/policy/configuration_policy_handler_list_factory.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/content_settings.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/content_settings_exceptions_area.js
|
View
|
1
2
3
4
5
6
|
3 chunks |
+40 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/content_settings/content_setting_bubble_model.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/content_settings_handler.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+21 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/policy/policy_test_cases.json
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/content_settings/core/browser/content_settings_policy_provider.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/browser/content_settings_policy_provider.cc
|
View
|
1
2
3
4
5
6
7
8
|
9 chunks |
+70 lines, -3 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/browser/host_content_settings_map.h
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+31 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/browser/host_content_settings_map.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+101 lines, -40 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/common/content_settings.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/common/pref_names.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/common/pref_names.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/test/content_settings_test_utils.h
|
View
|
1
2
3
4
5
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/test/content_settings_test_utils.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/policy/resources/policy_templates.json
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+61 lines, -1 line |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
Total messages: 39 (10 generated)
|