DLP: Fix DlpController::IsDataReadAllowed
- Refactored DataTransferDlpController:: IsDataReadAllowed so it'd be easier to identify which types are supported and which aren't. - ClipboardHistory endpoint should have given a privilege access as a destination but it was handled as source instead by mistake. - Allowed data of any source to be read except URLs given that it's the only type supported now as a source. - Disabled notification for Files app. Bug: 1139835, 1136656 Change-Id: If10d3962e9f2ac7cc4353f4d133b043ad05abbec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2556639Reviewed-by:Sergey Poromov <poromov@chromium.org> Reviewed-by:
Nikita Podguzov <nikitapodguzov@chromium.org> Commit-Queue: Aya Elsayed <ayaelattar@chromium.org> Cr-Commit-Position: refs/heads/master@{#830949}
Showing
Please register or sign in to comment