Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / thumbnails / thumbnail_service.h
index 4144436..97000d2 100644 (file)
@@ -6,7 +6,7 @@
 #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;
@@ -23,7 +23,7 @@ struct ThumbnailingContext;
 // 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
@@ -58,7 +58,7 @@ class ThumbnailService : public RefcountedBrowserContextKeyedService {
   virtual bool ShouldAcquirePageThumbnail(const GURL& url) = 0;
 
  protected:
-  virtual ~ThumbnailService() {}
+  ~ThumbnailService() override {}
 };
 
 }  // namespace thumbnails