Files
brave-core/patches/chrome-browser-ui-webui-settings-import_data_handler.cc.patch

21 lines
1019 B
Diff

diff --git a/chrome/browser/ui/webui/settings/import_data_handler.cc b/chrome/browser/ui/webui/settings/import_data_handler.cc
index 07ad45a8be20ae3390f6fff34f7d17a8363d4019..5b35949cdacbacddc8d4f6d0b55d92946aae8636 100644
--- a/chrome/browser/ui/webui/settings/import_data_handler.cc
+++ b/chrome/browser/ui/webui/settings/import_data_handler.cc
@@ -150,6 +150,7 @@ void ImportDataHandler::HandleImportData(const base::ListValue& args) {
if (*type_dict.FindBool(prefs::kImportDialogSearchEngine)) {
selected_items |= user_data_importer::SEARCH_ENGINES;
}
+ BRAVE_IMPORT_DATA
const user_data_importer::SourceProfile& source_profile =
importer_list_->GetSourceProfileAt(browser_index);
@@ -232,6 +233,7 @@ void ImportDataHandler::SendBrowserProfileData(const std::string& callback_id) {
"autofillFormData",
(browser_services & user_data_importer::AUTOFILL_FORM_DATA) != 0);
+ BRAVE_SEND_BROWSER_PROFILE_DATA
browser_profiles.Append(std::move(browser_profile));
}