From b95029e7e9428d1238781c4b7591ef36c37b975f Mon Sep 17 00:00:00 2001 From: Sergey P Date: Thu, 21 Jul 2022 08:42:25 +0300 Subject: [PATCH] Disabled passwords import for OSX --- chromium_src/chrome/browser/importer/importer_list.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chromium_src/chrome/browser/importer/importer_list.cc b/chromium_src/chrome/browser/importer/importer_list.cc index c5e6e49a816c..db14a03e410c 100644 --- a/chromium_src/chrome/browser/importer/importer_list.cc +++ b/chromium_src/chrome/browser/importer/importer_list.cc @@ -34,6 +34,12 @@ void AddChromeToProfiles(std::vector* profiles, profile->begin(), profile->end())), &items)) continue; +#if BUILDFLAG(IS_MAC) + // https://github.com/brave/brave-browser/issues/24130 + if (type == importer::TYPE_OPERA && (items & importer::PASSWORDS)) { + items ^= importer::PASSWORDS; + } +#endif importer::SourceProfile chrome; std::string importer_name(brand); importer_name.append(*name);