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

Unified Diff: chrome/browser/download/test_download_shelf.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/save_page_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/test_download_shelf.h
diff --git a/chrome/browser/download/test_download_shelf.h b/chrome/browser/download/test_download_shelf.h
index 23933a58d8667f1535c299954b8bf9345767161a..a6151c5325ef69fdfe147ff31c95908682b6af20 100644
--- a/chrome/browser/download/test_download_shelf.h
+++ b/chrome/browser/download/test_download_shelf.h
@@ -16,12 +16,12 @@ class TestDownloadShelf : public DownloadShelf,
public content::DownloadManager::Observer {
public:
TestDownloadShelf();
- virtual ~TestDownloadShelf();
+ ~TestDownloadShelf() override;
// DownloadShelf:
- virtual bool IsShowing() const override;
- virtual bool IsClosing() const override;
- virtual Browser* browser() const override;
+ bool IsShowing() const override;
+ bool IsClosing() const override;
+ Browser* browser() const override;
// Return |true| if a download was added to this shelf.
bool did_add_download() const { return did_add_download_; }
@@ -30,14 +30,14 @@ class TestDownloadShelf : public DownloadShelf,
void set_download_manager(content::DownloadManager* download_manager);
// DownloadManager::Observer implementation.
- virtual void ManagerGoingDown(content::DownloadManager* manager) override;
+ void ManagerGoingDown(content::DownloadManager* manager) override;
protected:
- virtual void DoAddDownload(content::DownloadItem* download) override;
- virtual void DoShow() override;
- virtual void DoClose(CloseReason reason) override;
- virtual base::TimeDelta GetTransientDownloadShowDelay() override;
- virtual content::DownloadManager* GetDownloadManager() override;
+ void DoAddDownload(content::DownloadItem* download) override;
+ void DoShow() override;
+ void DoClose(CloseReason reason) override;
+ base::TimeDelta GetTransientDownloadShowDelay() override;
+ content::DownloadManager* GetDownloadManager() override;
private:
bool is_showing_;
« no previous file with comments | « chrome/browser/download/save_page_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698