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

Unified Diff: content/browser/download/download_file_impl.h

Issue 667943003: Standardize usage of virtual/override/final in content/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: content/browser/download/download_file_impl.h
diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h
index 7326665d42ce70bba6575f1fbe5463c92f681ca9..9ff3f8583db3190f9b43cd8fbe13d28216d80671 100644
--- a/content/browser/download/download_file_impl.h
+++ b/content/browser/download/download_file_impl.h
@@ -44,24 +44,22 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public DownloadFile {
const net::BoundNetLog& bound_net_log,
base::WeakPtr<DownloadDestinationObserver> observer);
- virtual ~DownloadFileImpl();
+ ~DownloadFileImpl() override;
// DownloadFile functions.
- virtual void Initialize(const InitializeCallback& callback) override;
- virtual void RenameAndUniquify(
- const base::FilePath& full_path,
- const RenameCompletionCallback& callback) override;
- virtual void RenameAndAnnotate(
- const base::FilePath& full_path,
- const RenameCompletionCallback& callback) override;
- virtual void Detach() override;
- virtual void Cancel() override;
- virtual base::FilePath FullPath() const override;
- virtual bool InProgress() const override;
- virtual int64 CurrentSpeed() const override;
- virtual bool GetHash(std::string* hash) override;
- virtual std::string GetHashState() override;
- virtual void SetClientGuid(const std::string& guid) override;
+ void Initialize(const InitializeCallback& callback) override;
+ void RenameAndUniquify(const base::FilePath& full_path,
+ const RenameCompletionCallback& callback) override;
+ void RenameAndAnnotate(const base::FilePath& full_path,
+ const RenameCompletionCallback& callback) override;
+ void Detach() override;
+ void Cancel() override;
+ base::FilePath FullPath() const override;
+ bool InProgress() const override;
+ int64 CurrentSpeed() const override;
+ bool GetHash(std::string* hash) override;
+ std::string GetHashState() override;
+ void SetClientGuid(const std::string& guid) override;
protected:
// For test class overrides.
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/download/download_file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698