#include "components/autofill/core/browser/ui/autofill_image_fetcher.h"
#include "base/containers/contains.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#include "base/test/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "components/autofill/core/browser/data_model/credit_card.h"
#include "components/autofill/core/browser/data_model/credit_card_art_image.h"
#include "components/autofill/core/browser/payments/constants.h"
#include "components/image_fetcher/core/mock_image_fetcher.h"
#include "components/image_fetcher/core/request_metadata.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_unittest_util.h"
#include "ui/resources/grit/ui_resources.h"
Bucket;
_;
namespace autofill {
class TestAutofillImageFetcher : public AutofillImageFetcher { … };
class AutofillImageFetcherTest : public testing::Test { … };
TEST_F(AutofillImageFetcherTest, FetchImage_Success) { … }
TEST_F(AutofillImageFetcherTest, FetchImage_ResolveCardArtURL) { … }
TEST_F(AutofillImageFetcherTest, FetchImage_ResolveCardArtImage) { … }
TEST_F(AutofillImageFetcherTest, FetchImage_ServerFailure) { … }
}