#include "components/page_image_service/image_service_handler.h"
#include "components/page_image_service/image_service.h"
namespace page_image_service {
ImageServiceHandler::ImageServiceHandler(
mojo::PendingReceiver<mojom::PageImageServiceHandler> pending_page_handler,
base::WeakPtr<page_image_service::ImageService> image_service)
: … { … }
ImageServiceHandler::~ImageServiceHandler() = default;
void ImageServiceHandler::GetPageImageUrl(mojom::ClientId client_id,
const GURL& page_url,
mojom::OptionsPtr options,
GetPageImageUrlCallback callback) { … }
void ImageServiceHandler::OnGotImageServiceResult(
GetPageImageUrlCallback callback,
const GURL& image_url) { … }
}