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

Unified Diff: chrome/browser/bitmap_fetcher/bitmap_fetcher.h

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (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/bitmap_fetcher/bitmap_fetcher.h
diff --git a/chrome/browser/bitmap_fetcher/bitmap_fetcher.h b/chrome/browser/bitmap_fetcher/bitmap_fetcher.h
index 4af30b112e49ca833b2c6342810c9ae00409c885..1d576df3c233eaad7dfd3e8f1b6e2d7090eed797 100644
--- a/chrome/browser/bitmap_fetcher/bitmap_fetcher.h
+++ b/chrome/browser/bitmap_fetcher/bitmap_fetcher.h
@@ -26,7 +26,7 @@ class BitmapFetcher : public net::URLFetcherDelegate,
public ImageDecoder::Delegate {
public:
BitmapFetcher(const GURL& url, BitmapFetcherDelegate* delegate);
- virtual ~BitmapFetcher();
+ ~BitmapFetcher() override;
const GURL& url() const { return url_; }
@@ -45,25 +45,25 @@ class BitmapFetcher : public net::URLFetcherDelegate,
// This will be called when the URL has been fetched, successfully or not.
// Use accessor methods on |source| to get the results.
- virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
+ void OnURLFetchComplete(const net::URLFetcher* source) override;
// This will be called when some part of the response is read. |current|
// denotes the number of bytes received up to the call, and |total| is the
// expected total size of the response (or -1 if not determined).
- virtual void OnURLFetchDownloadProgress(const net::URLFetcher* source,
- int64 current,
- int64 total) override;
+ void OnURLFetchDownloadProgress(const net::URLFetcher* source,
+ int64 current,
+ int64 total) override;
// Methods inherited from ImageDecoder::Delegate
// Called when image is decoded. |decoder| is used to identify the image in
// case of decoding several images simultaneously. This will not be called
// on the UI thread.
- virtual void OnImageDecoded(const ImageDecoder* decoder,
- const SkBitmap& decoded_image) override;
+ void OnImageDecoded(const ImageDecoder* decoder,
+ const SkBitmap& decoded_image) override;
// Called when decoding image failed.
- virtual void OnDecodeImageFailed(const ImageDecoder* decoder) override;
+ void OnDecodeImageFailed(const ImageDecoder* decoder) override;
private:
// Alerts the delegate that a failure occurred.

Powered by Google App Engine
This is Rietveld 408576698