1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
--- chrome/browser/media/webrtc/webrtc_logging_handler_host.h.orig 2019-04-30 22:22:34 UTC
+++ chrome/browser/media/webrtc/webrtc_logging_handler_host.h
@@ -153,13 +153,13 @@ class WebRtcLoggingHandlerHost : public content::Brows
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.
void GetLogsDirectory(const LogsDirectoryCallback& callback,
const LogsDirectoryErrorCallback& error_callback);
-#endif // defined(OS_LINUX) || defined(OS_CHROMEOS)
+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
private:
friend class content::BrowserThread;
@@ -226,7 +226,7 @@ class WebRtcLoggingHandlerHost : public content::Brows
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|
@@ -235,7 +235,7 @@ class WebRtcLoggingHandlerHost : public content::Brows
const LogsDirectoryCallback& callback,
const LogsDirectoryErrorCallback& error_callback,
const base::FilePath& logs_path);
-#endif // defined(OS_LINUX) || defined(OS_CHROMEOS)
+#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
// The render process ID this object belongs to.
const int render_process_id_;
|