#include "components/cronet/host_cache_persistence_manager.h"
#include "base/test/scoped_mock_time_message_loop_task_runner.h"
#include "base/test/task_environment.h"
#include "base/values.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "net/base/ip_endpoint.h"
#include "net/base/net_errors.h"
#include "net/base/network_isolation_key.h"
#include "net/dns/host_cache.h"
#include "net/dns/public/dns_query_type.h"
#include "net/dns/public/host_resolver_source.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cronet {
class HostCachePersistenceManagerTest : public testing::Test { … };
const char HostCachePersistenceManagerTest::kPrefName[] = …;
TEST_F(HostCachePersistenceManagerTest, SeparateWrites) { … }
TEST_F(HostCachePersistenceManagerTest, MultipleWrites) { … }
TEST_F(HostCachePersistenceManagerTest, BatchedWrites) { … }
TEST_F(HostCachePersistenceManagerTest, InitAfterPrefs) { … }
TEST_F(HostCachePersistenceManagerTest, InitBeforePrefs) { … }
}