|
|
Remove last usage functions from HostContentSettingsMap and clean up prefs
The last usage functions are:
1) Unused and have been for over 2.5 years. There is no concrete plan
to use them.
2) Not implemented in a very clean way, e.g.:
- There are 5 functions in HostContentSettingsMap for this functionality
making the interface more complex. It's unclear whether this should even
be in HostContentSettingsMap.
- There is special casing in SetContentSettingCustomScope for some
permissions which shouldn't be there.
This patch a rebase of raymes@'s patch crrev.com/1411653004 with
RegisterPermissionUsage and prefs logic also removed, and code to clean
up the existing saved prefs added.
BUG= 691893
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
TBR=torne, sergeyu, alokp, nasko, timvolodine
Review-Url: https://codereview.chromium.org/2697473002
Cr-Commit-Position: refs/heads/master@{#451693}
Committed: https://chromium.googlesource.com/chromium/src/+/625ec633bc9592783a2ac98c55e5253189221eed
Total comments: 8
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+97 lines, -612 lines) |
Patch |
 |
M |
android_webview/browser/aw_permission_manager.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/aw_permission_manager.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/content_settings/content_settings_pref_provider_unittest.cc
|
View
|
1
2
3
4
|
4 chunks |
+63 lines, -37 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_browsertest.cc
|
View
|
|
1 chunk |
+0 lines, -31 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/geolocation/geolocation_permission_context_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -137 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media/webrtc/media_stream_devices_controller.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/notification_interactive_uitest.cc
|
View
|
|
1 chunk |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/platform_notification_service_impl.cc
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/notifications/platform_notification_service_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/permissions/permission_context_base.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/permissions/permission_manager.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/permissions/permission_manager.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/cast_permission_manager.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chromecast/browser/cast_permission_manager.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/browser/content_settings_pref.h
|
View
|
1
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/browser/content_settings_pref.cc
|
View
|
1
|
4 chunks |
+0 lines, -63 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/browser/content_settings_pref_provider.h
|
View
|
1
|
3 chunks |
+0 lines, -19 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/browser/content_settings_pref_provider.cc
|
View
|
1
2
3
|
5 chunks |
+29 lines, -23 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/browser/host_content_settings_map.h
|
View
|
1
|
3 chunks |
+0 lines, -40 lines |
0 comments
|
Download
|
 |
M |
components/content_settings/core/browser/host_content_settings_map.cc
|
View
|
1
|
3 chunks |
+0 lines, -69 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.cc
|
View
|
1
2
3
4
|
2 chunks |
+1 line, -16 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/permission_manager.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/layout_test/layout_test_permission_manager.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/layout_test/layout_test_permission_manager.cc
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_permission_manager.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/shell/browser/shell_permission_manager.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/test/mock_permission_manager.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
device/geolocation/geolocation_service_context.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
device/geolocation/geolocation_service_context.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
device/geolocation/geolocation_service_impl.h
|
View
|
|
2 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
device/geolocation/geolocation_service_impl.cc
|
View
|
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
Total messages: 30 (13 generated)
|