#include "services/network/test/test_network_connection_tracker.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/functional/callback_helpers.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/task/sequenced_task_runner.h"
namespace network {
static TestNetworkConnectionTracker*
g_test_network_connection_tracker_instance = …;
namespace {
NetworkConnectionTrackerCallback;
void GetInstanceAsync(NetworkConnectionTrackerCallback callback) { … }
NetworkConnectionTracker* GetNonTestInstance() { … }
}
std::unique_ptr<TestNetworkConnectionTracker>
TestNetworkConnectionTracker::CreateInstance() { … }
TestNetworkConnectionTracker* TestNetworkConnectionTracker::GetInstance() { … }
bool TestNetworkConnectionTracker::HasInstance() { … }
NetworkConnectionTrackerGetter TestNetworkConnectionTracker::CreateGetter() { … }
NetworkConnectionTrackerAsyncGetter
TestNetworkConnectionTracker::CreateAsyncGetter() { … }
TestNetworkConnectionTracker::TestNetworkConnectionTracker() { … }
TestNetworkConnectionTracker::~TestNetworkConnectionTracker() { … }
bool TestNetworkConnectionTracker::GetConnectionType(
network::mojom::ConnectionType* type,
ConnectionTypeCallback callback) { … }
void TestNetworkConnectionTracker::SetConnectionType(
network::mojom::ConnectionType type) { … }
void TestNetworkConnectionTracker::SetRespondSynchronously(
bool respond_synchronously) { … }
}