Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2772)

Unified Diff: chrome/browser/ui/app_list/search/common/url_icon_source.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/app_list/search/common/url_icon_source.h
diff --git a/chrome/browser/ui/app_list/search/common/url_icon_source.h b/chrome/browser/ui/app_list/search/common/url_icon_source.h
index 0626f2af7f44a0ef0317a95c3cc58bf49399731c..6d910bea0cb5870937e33b61168dd59ee06d145b 100644
--- a/chrome/browser/ui/app_list/search/common/url_icon_source.h
+++ b/chrome/browser/ui/app_list/search/common/url_icon_source.h
@@ -37,7 +37,7 @@ class UrlIconSource : public gfx::ImageSkiaSource,
const GURL& icon_url,
int icon_size,
int default_icon_resource_id);
- virtual ~UrlIconSource();
+ ~UrlIconSource() override;
private:
// Invoked from GetImageForScale to download the app icon when the hosting
@@ -45,15 +45,15 @@ class UrlIconSource : public gfx::ImageSkiaSource,
void StartIconFetch();
// gfx::ImageSkiaSource overrides:
- virtual gfx::ImageSkiaRep GetImageForScale(float scale) override;
+ gfx::ImageSkiaRep GetImageForScale(float scale) override;
// net::URLFetcherDelegate overrides:
- virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
+ void OnURLFetchComplete(const net::URLFetcher* source) override;
// ImageDecoder::Delegate overrides:
- virtual void OnImageDecoded(const ImageDecoder* decoder,
- const SkBitmap& decoded_image) override;
- virtual void OnDecodeImageFailed(const ImageDecoder* decoder) override;
+ void OnImageDecoded(const ImageDecoder* decoder,
+ const SkBitmap& decoded_image) override;
+ void OnDecodeImageFailed(const ImageDecoder* decoder) override;
IconLoadedCallback icon_loaded_callback_;
net::URLRequestContextGetter* context_getter_;

Powered by Google App Engine
This is Rietveld 408576698