aboutsummaryrefslogtreecommitdiff
path: root/devel/electron17/files/patch-components_os__crypt_os__crypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron17/files/patch-components_os__crypt_os__crypt.h')
-rw-r--r--devel/electron17/files/patch-components_os__crypt_os__crypt.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/devel/electron17/files/patch-components_os__crypt_os__crypt.h b/devel/electron17/files/patch-components_os__crypt_os__crypt.h
deleted file mode 100644
index 1ddfad03eaba..000000000000
--- a/devel/electron17/files/patch-components_os__crypt_os__crypt.h
+++ /dev/null
@@ -1,38 +0,0 @@
---- components/os_crypt/os_crypt.h.orig 2022-05-11 07:16:50 UTC
-+++ components/os_crypt/os_crypt.h
-@@ -16,7 +16,7 @@
-
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
- // of lacros-chrome is complete.
--#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
- class KeyStorageLinux;
- #endif // defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-
-@@ -41,7 +41,7 @@ class OSCrypt {
-
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
- // of lacros-chrome is complete.
--#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
- // Set the configuration of OSCrypt.
- static COMPONENT_EXPORT(OS_CRYPT) void SetConfig(
- std::unique_ptr<os_crypt::Config> config);
-@@ -49,7 +49,7 @@ class OSCrypt {
-
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
- // of lacros-chrome is complete.
--#if defined(OS_APPLE) || defined(OS_WIN) || \
-+#if defined(OS_APPLE) || defined(OS_WIN) || defined(OS_BSD) || \
- (defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS))
- // On Linux returns true iff the real secret key (not hardcoded one) is
- // available. On MacOS returns true if Keychain is available (for mock
-@@ -141,7 +141,7 @@ class OSCrypt {
-
- // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
- // of lacros-chrome is complete.
--#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
-+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
- // For unit testing purposes, inject methods to be used.
- // |get_key_storage_mock| provides the desired |KeyStorage| implementation.
- // If the provider returns |nullptr|, a hardcoded password will be used.