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

Unified Diff: chrome/browser/download/download_history.h

Issue 665253002: Standardize usage of virtual/override/final in chrome/browser/download/ (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
« no previous file with comments | « chrome/browser/download/download_file_picker.h ('k') | chrome/browser/download/download_history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_history.h
diff --git a/chrome/browser/download/download_history.h b/chrome/browser/download/download_history.h
index 64479c7277c2725d3ed2ed8ca90c958728f83cdf..be037b124262f9d5caba5783c065e18746c1a97a 100644
--- a/chrome/browser/download/download_history.h
+++ b/chrome/browser/download/download_history.h
@@ -80,7 +80,7 @@ class DownloadHistory : public AllDownloadItemNotifier::Observer {
content::DownloadManager* manager,
scoped_ptr<HistoryAdapter> history);
- virtual ~DownloadHistory();
+ ~DownloadHistory() override;
void AddObserver(Observer* observer);
void RemoveObserver(Observer* observer);
@@ -109,14 +109,14 @@ class DownloadHistory : public AllDownloadItemNotifier::Observer {
void ItemAdded(uint32 id, bool success);
// AllDownloadItemNotifier::Observer
- virtual void OnDownloadCreated(
- content::DownloadManager* manager, content::DownloadItem* item) override;
- virtual void OnDownloadUpdated(
- content::DownloadManager* manager, content::DownloadItem* item) override;
- virtual void OnDownloadOpened(
- content::DownloadManager* manager, content::DownloadItem* item) override;
- virtual void OnDownloadRemoved(
- content::DownloadManager* manager, content::DownloadItem* item) override;
+ void OnDownloadCreated(content::DownloadManager* manager,
+ content::DownloadItem* item) override;
+ void OnDownloadUpdated(content::DownloadManager* manager,
+ content::DownloadItem* item) override;
+ void OnDownloadOpened(content::DownloadManager* manager,
+ content::DownloadItem* item) override;
+ void OnDownloadRemoved(content::DownloadManager* manager,
+ content::DownloadItem* item) override;
// Schedule a record to be removed from |history_| the next time
// RemoveDownloadsBatch() runs. Schedule RemoveDownloadsBatch() to be run soon
« no previous file with comments | « chrome/browser/download/download_file_picker.h ('k') | chrome/browser/download/download_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698