diff options
Diffstat (limited to 'components/suggestions')
-rw-r--r-- | components/suggestions/image_manager.h | 4 | ||||
-rw-r--r-- | components/suggestions/suggestions_service.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/components/suggestions/image_manager.h b/components/suggestions/image_manager.h index 57ead85..1f7e392 100644 --- a/components/suggestions/image_manager.h +++ b/components/suggestions/image_manager.h @@ -40,7 +40,7 @@ class ImageManager : public ImageFetcherDelegate { ImageManager(scoped_ptr<ImageFetcher> image_fetcher, scoped_ptr<leveldb_proto::ProtoDatabase<ImageData> > database, const base::FilePath& database_dir); - virtual ~ImageManager(); + ~ImageManager() override; virtual void Initialize(const SuggestionsProfile& suggestions); @@ -51,7 +51,7 @@ class ImageManager : public ImageFetcherDelegate { protected: // Perform additional tasks when an image has been fetched. - virtual void OnImageFetched(const GURL& url, const SkBitmap* bitmap) override; + void OnImageFetched(const GURL& url, const SkBitmap* bitmap) override; private: friend class MockImageManager; diff --git a/components/suggestions/suggestions_service.h b/components/suggestions/suggestions_service.h index ea385e1..2203370 100644 --- a/components/suggestions/suggestions_service.h +++ b/components/suggestions/suggestions_service.h @@ -57,7 +57,7 @@ class SuggestionsService : public KeyedService, public net::URLFetcherDelegate { scoped_ptr<SuggestionsStore> suggestions_store, scoped_ptr<ImageManager> thumbnail_manager, scoped_ptr<BlacklistStore> blacklist_store); - virtual ~SuggestionsService(); + ~SuggestionsService() override; // Whether this service is enabled. static bool IsEnabled(); @@ -124,10 +124,10 @@ class SuggestionsService : public KeyedService, public net::URLFetcherDelegate { // net::URLFetcherDelegate implementation. // Called when fetch request completes. Parses the received suggestions data, // and dispatches them to callbacks stored in queue. - virtual void OnURLFetchComplete(const net::URLFetcher* source) override; + void OnURLFetchComplete(const net::URLFetcher* source) override; // KeyedService implementation. - virtual void Shutdown() override; + void Shutdown() override; // Load the cached suggestions and service the requestors with them. void ServeFromCache(); |