|
Recommit and fix of "Added a ForceYouTubeRestrict policy and deprecated the old ForceYouTubeSafetyMode policy"
Git hash: c42c0dddcb3c630cb30096d16a4485bd1025eccc
Link: https://codereview.chromium.org/2239753002/
The CL was reverted because of a timeout in the PolicyTest.ForceSafeSearch browser test. The test was doing a lot of calls to the slow CheckSafeSearch function. To fix this, the browser test is split into two separate tests:
LegacySafeSearch verifies that prefs are set properly.
ForceGoogleSafeSearch verifies that safe search actually is in effect depending on the pref.
TBR=tnagel@chromium.org
BUG= 590478
Committed: https://crrev.com/98684cb7910faea91679c00a54484237e386a099
Cr-Commit-Position: refs/heads/master@{#424413}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+402 lines, -165 lines) |
Patch |
 |
M |
chrome/browser/net/chrome_network_delegate.h
|
View
|
|
6 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_network_delegate.cc
|
View
|
|
8 chunks |
+23 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/chrome_network_delegate_unittest.cc
|
View
|
1
|
3 chunks |
+21 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/safe_search_util.h
|
View
|
|
1 chunk |
+22 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/safe_search_util.cc
|
View
|
|
3 chunks |
+28 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/safe_search_util_unittest.cc
|
View
|
|
1 chunk |
+13 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/policy/configuration_policy_handler_list_factory.cc
|
View
|
|
5 chunks |
+53 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/policy/policy_browsertest.cc
|
View
|
1
|
3 chunks |
+104 lines, -30 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_io_data.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_io_data.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/supervised_user/supervised_user_pref_store.cc
|
View
|
|
4 chunks |
+30 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/supervised_user/supervised_user_pref_store_unittest.cc
|
View
|
|
4 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/supervised_user/supervised_user_service_browsertest.cc
|
View
|
|
3 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/policy/policy_test_cases.json
|
View
|
|
2 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/policy/resources/policy_templates.json
|
View
|
|
3 chunks |
+57 lines, -9 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 22 (13 generated)
|