#include "components/safe_browsing/core/browser/safe_browsing_token_fetch_tracker.h"
#include <memory>
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace safe_browsing {
class SafeBrowsingTokenFetchTrackerTest : public ::testing::Test { … };
TEST_F(SafeBrowsingTokenFetchTrackerTest, Success) { … }
TEST_F(SafeBrowsingTokenFetchTrackerTest, MultipleRequests) { … }
TEST_F(SafeBrowsingTokenFetchTrackerTest, FetcherDestruction) { … }
TEST_F(SafeBrowsingTokenFetchTrackerTest,
FetcherDestroyedFromWithinOnTokenFetchedCallback) { … }
TEST_F(SafeBrowsingTokenFetchTrackerTest, Timeout) { … }
}