Refactor WebContentSettingsClient to dedupe AllowXYZ methods
This change consolidates the storage related methods in the WebContentSettingsClient interface into two new methods to prevent use of repeated logic in implementations. Implementations and usage sites have also been updated to use the new methods, RequestStorageAccess and RequestStorageAccessSync. Change-Id: If46b3d0ca7555b8db212b014580f0b5513bbe508 Bug: 1019415 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2353552 Commit-Queue: Shubham Aggarwal <shuagga@microsoft.com> Reviewed-by:Joshua Bell <jsbell@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Christian Dullweber <dullweber@chromium.org> Cr-Commit-Position: refs/heads/master@{#805360}
Showing
Please register or sign in to comment