#include "content/browser/renderer_host/media/aec_dump_manager_impl.h"
#include "base/files/file.h"
#include "base/functional/callback_helpers.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool.h"
#include "content/browser/webrtc/webrtc_internals.h"
#include "mojo/public/cpp/base/file_mojom_traits.h"
namespace content {
namespace {
constexpr char kAecDumpFileNameAddition[] = …;
base::File CreateDumpFile(const base::FilePath& file_path) { … }
}
AecDumpManagerImpl::AecDumpManagerImpl() = default;
AecDumpManagerImpl::~AecDumpManagerImpl() = default;
void AecDumpManagerImpl::AddReceiver(
mojo::PendingReceiver<blink::mojom::AecDumpManager> receiver) { … }
void AecDumpManagerImpl::AutoStart() { … }
void AecDumpManagerImpl::Start(const base::FilePath& file_path) { … }
void AecDumpManagerImpl::Stop() { … }
void AecDumpManagerImpl::Add(
mojo::PendingRemote<blink::mojom::AecDumpAgent> agent) { … }
void AecDumpManagerImpl::CreateFileAndStartDump(const base::FilePath& file_path,
int id) { … }
void AecDumpManagerImpl::StartDump(int id, base::File file) { … }
void AecDumpManagerImpl::OnAgentDisconnected(int id) { … }
}