#include <limits>
#include "base/atomic_ref_count.h"
#include "base/no_destructor.h"
#include "net/base/features.h"
#include "net/socket/udp_socket_global_limits.h"
namespace net {
namespace {
class GlobalUDPSocketCounts { … };
}
OwnedUDPSocketCount::OwnedUDPSocketCount() : … { … }
OwnedUDPSocketCount::OwnedUDPSocketCount(OwnedUDPSocketCount&& other) { … }
OwnedUDPSocketCount& OwnedUDPSocketCount::operator=(
OwnedUDPSocketCount&& other) { … }
OwnedUDPSocketCount::~OwnedUDPSocketCount() { … }
void OwnedUDPSocketCount::Reset() { … }
OwnedUDPSocketCount::OwnedUDPSocketCount(bool empty) : … { … }
OwnedUDPSocketCount TryAcquireGlobalUDPSocketCount() { … }
int GetGlobalUDPSocketCountForTesting() { … }
}