DLP: Add class with info about confidential file
Create a DlpConfidentialFile class for passing icon and file name to
the dialog.
This class is an alternative to DlpConfidentialContent for files. The
difference between them should be in comparison methods:
DlpConfidentialContent compares elements by source urls while
DlpConfidentialFile should compare elements by file paths.
Bug: 1368651
Change-Id: Icb5f8b2d33da8302ef9586b1f248a501b1f028fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3924803
Commit-Queue: Anna Ibatullina <[email protected]>
Reviewed-by: Aya Elsayed <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1053486}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index ae6a346c..197a108 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -5461,6 +5461,8 @@
"chromeos/policy/dlp/dlp_clipboard_notifier.h",
"chromeos/policy/dlp/dlp_confidential_contents.cc",
"chromeos/policy/dlp/dlp_confidential_contents.h",
+ "chromeos/policy/dlp/dlp_confidential_file.cc",
+ "chromeos/policy/dlp/dlp_confidential_file.h",
"chromeos/policy/dlp/dlp_content_manager.cc",
"chromeos/policy/dlp/dlp_content_manager.h",
"chromeos/policy/dlp/dlp_content_manager_lacros.cc",