#define CHROME_BROWSER_THUMBNAILS_THUMBNAIL_SERVICE_H_
#include "components/history/core/common/thumbnail_score.h"
-#include "components/keyed_service/content/refcounted_browser_context_keyed_service.h"
+#include "components/keyed_service/core/refcounted_keyed_service.h"
#include "ui/gfx/image/image.h"
class GURL;
// An interface abstracting access to thumbnails. Intended as a temporary
// bridge facilitating switch from TopSites as the thumbnail source to a more
// robust way of handling these artefacts.
-class ThumbnailService : public RefcountedBrowserContextKeyedService {
+class ThumbnailService : public RefcountedKeyedService {
public:
// Sets the given thumbnail for the given URL. Returns true if the thumbnail
// was updated. False means either the URL wasn't known to us, or we felt
virtual bool ShouldAcquirePageThumbnail(const GURL& url) = 0;
protected:
- virtual ~ThumbnailService() {}
+ ~ThumbnailService() override {}
};
} // namespace thumbnails