blob: 5b6f69d220f5e460abf308c61899b0093222b55b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- components/os_crypt/os_crypt.h.orig 2017-01-26 00:49:12 UTC
+++ components/os_crypt/os_crypt.h
@@ -13,7 +13,7 @@
#include "base/strings/string16.h"
#include "build/build_config.h"
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
#include "components/os_crypt/key_storage_linux.h"
#endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
@@ -23,7 +23,7 @@
// true for Linux, if a password management tool is available.
class OSCrypt {
public:
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) || defined(OS_BSD)) && !defined(OS_CHROMEOS)
// If |store_type| is a known password store, we will attempt to use it.
// In any other case, we default to auto-detecting the store.
// This should not be changed after OSCrypt has been used.
|