#include "chrome/browser/bitmap_fetcher/bitmap_fetcher_service.h"
#include <stddef.h>
#include "chrome/browser/bitmap_fetcher/bitmap_fetcher.h"
#include "chrome/test/base/testing_profile.h"
#include "content/public/test/browser_task_environment.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
namespace {
class TestService : public BitmapFetcherService { … };
}
class BitmapFetcherServiceTest : public testing::Test { … };
TEST_F(BitmapFetcherServiceTest, RequestInvalidUrl) { … }
TEST_F(BitmapFetcherServiceTest, CancelInvalidRequest) { … }
TEST_F(BitmapFetcherServiceTest, OnlyFirstRequestCreatesFetcher) { … }
TEST_F(BitmapFetcherServiceTest, CompletedFetchNotifiesAllObservers) { … }
TEST_F(BitmapFetcherServiceTest, CancelRequest) { … }
TEST_F(BitmapFetcherServiceTest, FailedNullRequestsAreHandled) { … }
TEST_F(BitmapFetcherServiceTest, FailedRequestsDontEnterCache) { … }