aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2022-06-18 05:51:42 +0000
committerRene Ladan <rene@FreeBSD.org>2022-06-22 08:15:26 +0000
commitd1fc8f8fc633309af3129e993bef21ebbe73ce04 (patch)
tree976377d0541012205b17c814c45998d26e68b901 /www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc
parent294ffa9e571f7489af1b75cc82dba8941772d02c (diff)
downloadports-d1fc8f8fc633309af3129e993bef21ebbe73ce04.tar.gz
ports-d1fc8f8fc633309af3129e993bef21ebbe73ce04.zip
www/chromium: update to 103.0.5060.53
Security: https://vuxml.freebsd.org/freebsd/b2a4c5f1-f1fe-11ec-bcd2-3065ec8fd3ec.html (cherry picked from commit 80ffbf089df7cc8d4b4879e23f6816fc7e338f7f)
Diffstat (limited to 'www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc')
-rw-r--r--www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc17
1 files changed, 13 insertions, 4 deletions
diff --git a/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc b/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc
index bf7e2c626cb0..58f274d57c36 100644
--- a/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc
+++ b/www/chromium/files/patch-remoting_host_webauthn_remote__webauthn__extension__notifier.cc
@@ -1,6 +1,15 @@
---- remoting/host/webauthn/remote_webauthn_extension_notifier.cc.orig 2022-05-19 14:06:27 UTC
+--- remoting/host/webauthn/remote_webauthn_extension_notifier.cc.orig 2022-06-17 14:20:10 UTC
+++ remoting/host/webauthn/remote_webauthn_extension_notifier.cc
-@@ -49,14 +49,14 @@ namespace {
+@@ -23,7 +23,7 @@
+ #include "base/threading/sequenced_task_runner_handle.h"
+ #include "build/build_config.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "base/environment.h"
+ #include "base/nix/xdg_util.h"
+ #include "base/strings/string_util.h"
+@@ -68,14 +68,14 @@ static constexpr char kExtensionWakeupFileContent[] =
// 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() {
@@ -14,6 +23,6 @@
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ // See: chrome/common/chrome_paths_linux.cc
+ auto env = base::Environment::Create();
base::FilePath base_path;
- if (!base::PathService::Get(base::DIR_HOME, &base_path)) {
- LOG(ERROR) << "Failed to get local app data dir";