#include "components/safe_browsing/core/browser/db/database_manager.h"
#include <stddef.h>
#include <set>
#include <string>
#include "base/base64.h"
#include "base/location.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/synchronization/waitable_event.h"
#include "base/task/sequenced_task_runner.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "components/safe_browsing/core/browser/db/test_database_manager.h"
#include "components/safe_browsing/core/browser/db/v4_protocol_manager_util.h"
#include "components/safe_browsing/core/browser/db/v4_test_util.h"
#include "crypto/sha2.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace safe_browsing {
namespace {
class TestClient : public SafeBrowsingDatabaseManager::Client { … };
}
class SafeBrowsingDatabaseManagerTest : public testing::Test { … };
TEST_F(SafeBrowsingDatabaseManagerTest, CheckApiBlocklistUrlWrongScheme) { … }
TEST_F(SafeBrowsingDatabaseManagerTest, CancelApiCheck) { … }
TEST_F(SafeBrowsingDatabaseManagerTest, GetApiCheckResponse) { … }
}