blob: 8cf5d89f7a433ed3cf0cb3fc32dfbbf7554db617 [file] [log] [blame]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_PICKER_MOCK_PICKER_ASSET_FETCHER_H_
#define ASH_PICKER_MOCK_PICKER_ASSET_FETCHER_H_
#include "ash/ash_export.h"
#include "ash/picker/picker_asset_fetcher.h"
namespace ash {
class ASH_EXPORT MockPickerAssetFetcher : public PickerAssetFetcher {
public:
MockPickerAssetFetcher();
MockPickerAssetFetcher(const MockPickerAssetFetcher&) = delete;
MockPickerAssetFetcher& operator=(const MockPickerAssetFetcher&) = delete;
~MockPickerAssetFetcher() override;
// PickerAssetFetcher:
void FetchGifFromUrl(const GURL& url,
PickerGifFetchedCallback callback) override;
void FetchGifPreviewImageFromUrl(
const GURL& url,
PickerImageFetchedCallback callback) override;
};
} // namespace ash
#endif // ASH_PICKER_MOCK_PICKER_ASSET_FETCHER_H_