#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/threading/thread_restrictions.h"
#include "build/build_config.h"
#include "chrome/browser/apps/platform_apps/app_browsertest_util.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_switches.h"
#include "components/webrtc_logging/browser/text_log_list.h"
#include "content/public/test/browser_test.h"
class WebrtcLoggingPrivateApiBrowserTest
: public extensions::PlatformAppBrowserTest { … };
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
IN_PROC_BROWSER_TEST_F(WebrtcLoggingPrivateApiBrowserTest,
TestGetLogsDirectoryCreatesWebRtcLogsDirectory) { … }
IN_PROC_BROWSER_TEST_F(WebrtcLoggingPrivateApiBrowserTest,
TestGetLogsDirectoryReadsFiles) { … }
#endif
IN_PROC_BROWSER_TEST_F(WebrtcLoggingPrivateApiBrowserTest,
TestNoGetLogsDirectoryPermissionsFromHangoutsExtension) { … }
IN_PROC_BROWSER_TEST_F(WebrtcLoggingPrivateApiBrowserTest,
TestStartAudioDebugRecordingsForWebviewFromApp) { … }
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
IN_PROC_BROWSER_TEST_F(
WebrtcLoggingPrivateApiBrowserTest,
TestStartAudioDebugRecordingsForWebviewFromAppWithoutSwitch) { … }
#endif
IN_PROC_BROWSER_TEST_F(WebrtcLoggingPrivateApiBrowserTest, TestStartStopStart) { … }