Files
brave-core/patches/components-os_crypt-key_storage_linux.cc.patch
T

24 lines
1023 B
Diff

diff --git a/components/os_crypt/key_storage_linux.cc b/components/os_crypt/key_storage_linux.cc
index 15234c8d9a9cb9e19e4ee23830cc85ad4e5eac24..adc52b8d9577aa5a9be5ea3009a571c7bfa1f9e7 100644
--- a/components/os_crypt/key_storage_linux.cc
+++ b/components/os_crypt/key_storage_linux.cc
@@ -32,8 +32,7 @@
const char KeyStorageLinux::kFolderName[] = "Chrome Keys";
const char KeyStorageLinux::kKey[] = "Chrome Safe Storage";
#else
-const char KeyStorageLinux::kFolderName[] = "Chromium Keys";
-const char KeyStorageLinux::kKey[] = "Chromium Safe Storage";
+BRAVE_KEY_STORAGE_LINUX
#endif
namespace {
@@ -150,7 +149,7 @@ std::unique_ptr<KeyStorageLinux> KeyStorageLinux::CreateServiceInternal(
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
static const base::NoDestructor<std::string> kDefaultApplicationName("chrome");
#else
- static const base::NoDestructor<std::string> kDefaultApplicationName("chromium");
+ BRAVE_KEY_STORAGE_LINUX_CREATE_SERVICE_INTERNAL
#endif
std::unique_ptr<KeyStorageLinux> key_storage;