1 --- chrome/browser/media/webrtc/webrtc_logging_controller.cc.orig 2022-05-19 14:06:27 UTC 2 +++ chrome/browser/media/webrtc/webrtc_logging_controller.cc 3 @@ -24,10 +24,10 @@ 4 #include "content/public/browser/browser_context.h" 5 #include "content/public/browser/render_process_host.h" 6 7 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) 8 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) 9 #include "content/public/browser/child_process_security_policy.h" 10 #include "storage/browser/file_system/isolated_context.h" 11 -#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) 12 +#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) 13 14 using webrtc_event_logging::WebRtcEventLogManager; 15 16 @@ -281,7 +281,7 @@ void WebRtcLoggingController::StartEventLogging( 17 web_app_id, callback); 18 } 19 20 -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) 21 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) 22 void WebRtcLoggingController::GetLogsDirectory( 23 LogsDirectoryCallback callback, 24 LogsDirectoryErrorCallback error_callback) { 25 @@ -327,7 +327,7 @@ void WebRtcLoggingController::GrantLogsDirectoryAccess 26 FROM_HERE, 27 base::BindOnce(std::move(callback), file_system.id(), registered_name)); 28 } 29 -#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) 30 +#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) 31 32 void WebRtcLoggingController::OnRtpPacket( 33 std::unique_ptr<uint8_t[]> packet_header, 34