blob: bf7e2c626cb0e68a0f3d6704a3b83248cc4bd2e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- remoting/host/webauthn/remote_webauthn_extension_notifier.cc.orig 2022-05-19 14:06:27 UTC
+++ remoting/host/webauthn/remote_webauthn_extension_notifier.cc
@@ -49,14 +49,14 @@ namespace {
// Caller should check if the directory exists before writing files to it. A
// directory only exists if the corresponding Chrome version is installed.
std::vector<base::FilePath> GetRemoteStateChangeDirPaths() {
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
constexpr base::FilePath::CharType kStateChangeDirName[] =
FILE_PATH_LITERAL("WebAuthenticationProxyRemoteSessionStateChange");
#endif
std::vector<base::FilePath> dirs;
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
base::FilePath base_path;
if (!base::PathService::Get(base::DIR_HOME, &base_path)) {
LOG(ERROR) << "Failed to get local app data dir";
|