File chromium-145-use_unrar.patch of Package chromium.19404
--- chromium-146.0.7680.65/chrome/services/file_util/regular_archive_analysis_delegate.cc 2026/03/11 23:54:37 1.1
+++ chromium-146.0.7680.65/chrome/services/file_util/regular_archive_analysis_delegate.cc 2026/03/11 23:54:59
@@ -9,8 +9,10 @@
#include "base/containers/span.h"
#include "base/files/file.h"
#include "chrome/utility/safe_browsing/zip_writer_delegate.h"
+#if USE_UNRAR
#include "third_party/unrar/google/unrar_delegates.h"
#include "third_party/unrar/google/unrar_wrapper.h"
+#endif
#include "third_party/zlib/google/zip_reader.h"
namespace safe_browsing {
--- chromium-146.0.7680.65/chrome/services/file_util/regular_archive_analysis_delegate.h 2026/03/11 23:55:04 1.1
+++ chromium-146.0.7680.65/chrome/services/file_util/regular_archive_analysis_delegate.h 2026/03/11 23:55:30
@@ -6,7 +6,9 @@
#define CHROME_SERVICES_FILE_UTIL_REGULAR_ARCHIVE_ANALYSIS_DELEGATE_H_
#include "chrome/utility/safe_browsing/archive_analysis_delegate.h"
+#if USE_UNRAR
#include "third_party/unrar/google/unrar_delegates.h"
+#endif
namespace safe_browsing {