#include "chrome/browser/ui/passwords/account_avatar_fetcher.h"
#include "net/base/load_flags.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/url_request/referrer_policy.h"
#include "services/network/public/mojom/fetch_api.mojom.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/image/image_skia_operations.h"
namespace {
constexpr net::NetworkTrafficAnnotationTag kAccountAvatarTrafficAnnotation = …;
}
AccountAvatarFetcher::AccountAvatarFetcher(
const GURL& url,
const base::WeakPtr<AccountAvatarFetcherDelegate>& delegate)
: … { … }
AccountAvatarFetcher::~AccountAvatarFetcher() = default;
void AccountAvatarFetcher::Start(
network::mojom::URLLoaderFactory* loader_factory,
const url::Origin& initiator) { … }
void AccountAvatarFetcher::OnFetchComplete(const GURL& ,
const SkBitmap* bitmap) { … }