#include "net/nqe/socket_watcher_factory.h"
#include "base/task/single_thread_task_runner.h"
#include "base/time/time.h"
#include "net/nqe/socket_watcher.h"
namespace net::nqe::internal {
SocketWatcherFactory::SocketWatcherFactory(
scoped_refptr<base::SingleThreadTaskRunner> task_runner,
base::TimeDelta min_notification_interval,
OnUpdatedRTTAvailableCallback updated_rtt_observation_callback,
ShouldNotifyRTTCallback should_notify_rtt_callback,
const base::TickClock* tick_clock)
: … { … }
SocketWatcherFactory::~SocketWatcherFactory() = default;
std::unique_ptr<SocketPerformanceWatcher>
SocketWatcherFactory::CreateSocketPerformanceWatcher(const Protocol protocol,
const IPAddress& address) { … }
void SocketWatcherFactory::SetTickClockForTesting(
const base::TickClock* tick_clock) { … }
}