blob: a056b951423ea7968ad026e47f70ecd0dc240aa4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- components/password_manager/core/browser/sync/password_sync_bridge.cc.orig 2022-05-19 14:06:27 UTC
+++ components/password_manager/core/browser/sync/password_sync_bridge.cc
@@ -150,7 +150,7 @@ bool ShouldRecoverPasswordsDuringMerge() {
// Delete the local undecryptable copy when this is MacOS only.
#if BUILDFLAG(IS_MAC)
return true;
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return base::FeatureList::IsEnabled(
features::kSyncUndecryptablePasswordsLinux);
#else
@@ -159,7 +159,7 @@ bool ShouldRecoverPasswordsDuringMerge() {
}
bool ShouldCleanSyncMetadataDuringStartupWhenDecryptionFails() {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return ShouldRecoverPasswordsDuringMerge() &&
base::FeatureList::IsEnabled(
features::kForceInitialSyncWhenDecryptionFails);
|