blob: ba6673758771598acf7263e55f6c7b7e41354c02 (
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-06-17 14:20:10 UTC
+++ components/password_manager/core/browser/sync/password_sync_bridge.cc
@@ -153,7 +153,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
@@ -162,7 +162,7 @@ bool ShouldRecoverPasswordsDuringMerge() {
}
bool ShouldCleanSyncMetadataDuringStartupWhenDecryptionFails() {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return ShouldRecoverPasswordsDuringMerge() &&
base::FeatureList::IsEnabled(
features::kForceInitialSyncWhenDecryptionFails);
|