// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/base/network_activity_monitor.h" #include <atomic> #include <type_traits> #include "third_party/abseil-cpp/absl/base/attributes.h" namespace net::activity_monitor { namespace { ABSL_CONST_INIT std::atomic<uint64_t> g_bytes_received = …; } // namespace void IncrementBytesReceived(uint64_t bytes_received) { … } uint64_t GetBytesReceived() { … } void ResetBytesReceivedForTesting() { … } } // namespace net::activity_monitor