pkgsrc-wip/chromium/patches/patch-chrome_browser_media_...

23 lines
1.1 KiB
C++

$NetBSD$
--- chrome/browser/media/webrtc/webrtc_logging_controller.h.orig 2020-07-08 21:40:34.000000000 +0000
+++ chrome/browser/media/webrtc/webrtc_logging_controller.h
@@ -129,7 +129,7 @@ class WebRtcLoggingController
size_t web_app_id,
const StartEventLoggingCallback& callback);
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
// Ensures that the WebRTC Logs directory exists and then grants render
// process access to the 'WebRTC Logs' directory, and invokes |callback| with
// the ids necessary to create a DirectoryEntry object.
@@ -188,7 +188,7 @@ class WebRtcLoggingController
bool success,
const std::string& error_message);
-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
// Grants the render process access to the 'WebRTC Logs' directory, and
// invokes |callback| with the ids necessary to create a DirectoryEntry
// object. If the |logs_path| couldn't be created or found, |error_callback|