#include "chrome/browser/k_anonymity_service/k_anonymity_service_storage.h"
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace {
const char kTestOrigin[] = …;
const char kTestOhttpKey[] = …;
const char kTestKeyCommitment[] = …;
const char kTestOrigin2[] = …;
const char kTestOhttpKey2[] = …;
const char kTestOrigin3[] = …;
const char kTestOhttpKey3[] = …;
class KAnonymityServiceStorageTest : public testing::TestWithParam<bool> { … };
TEST_P(KAnonymityServiceStorageTest, InitializeDatabase) { … }
TEST_P(KAnonymityServiceStorageTest, MultipleWaitUntilReady) { … }
TEST_P(KAnonymityServiceStorageTest, SaveAndLoadOHTTPKeys) { … }
TEST_P(KAnonymityServiceStorageTest, SaveAndLoadTooManyOHTTPKeys) { … }
TEST_P(KAnonymityServiceStorageTest, SaveAndLoadKeyCommitment) { … }
TEST_P(KAnonymityServiceStorageTest, HandlesDestructionBeforeReady) { … }
INSTANTIATE_TEST_SUITE_P(…);
}