#include "net/ssl/ssl_key_logger_impl.h"
#include <stdio.h>
#include <algorithm>
#include <utility>
#include "base/files/file_util.h"
#include "base/files/scoped_file.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/memory/ref_counted.h"
#include "base/sequence_checker.h"
#include "base/synchronization/lock.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"
#include "base/thread_annotations.h"
namespace net {
namespace {
static constexpr size_t kMaxOutstandingLines = …;
}
class SSLKeyLoggerImpl::Core
: public base::RefCountedThreadSafe<SSLKeyLoggerImpl::Core> { … };
SSLKeyLoggerImpl::SSLKeyLoggerImpl(const base::FilePath& path)
: … { … }
SSLKeyLoggerImpl::SSLKeyLoggerImpl(base::File file)
: … { … }
SSLKeyLoggerImpl::~SSLKeyLoggerImpl() = default;
void SSLKeyLoggerImpl::WriteLine(const std::string& line) { … }
}