Skip to content

Commit

Permalink
Merge pull request #25047 from brave/pr25040_szilard/33548-unexplaine…
Browse files Browse the repository at this point in the history
…d-data-loss_1.68.x

Enbl `SkipUndecryptablePasswords` on Linux & macOS (uplift to 1.68.x)
  • Loading branch information
LaurenWags authored Aug 9, 2024
2 parents 1855f7e + 031158e commit 77353d2
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* Copyright (c) 2024 The Brave Authors. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at https://mozilla.org/MPL/2.0/. */

#include "src/components/password_manager/core/browser/features/password_features.cc"

#include "base/feature_override.h"
#include "build/build_config.h"

namespace password_manager::features {

OVERRIDE_FEATURE_DEFAULT_STATES({{
#if BUILDFLAG(IS_IOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || \
BUILDFLAG(IS_WIN)
{kSkipUndecryptablePasswords, base::FEATURE_ENABLED_BY_DEFAULT}
#endif
}});

} // namespace password_manager::features

0 comments on commit 77353d2

Please sign in to comment.