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

Unified Diff: content/browser/download/save_package.cc

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
« no previous file with comments | « content/browser/download/save_package.h ('k') | content/browser/file_descriptor_info_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/save_package.cc
diff --git a/content/browser/download/save_package.cc b/content/browser/download/save_package.cc
index e979470f7a64da5f89c7eb7f5e3679d5c74610bc..486cb1057d1a3b233846a4abd6382e5fbbeba07d 100644
--- a/content/browser/download/save_package.cc
+++ b/content/browser/download/save_package.cc
@@ -113,16 +113,14 @@ class SavePackageRequestHandle : public DownloadRequestHandleInterface {
: save_package_(save_package) {}
// DownloadRequestHandleInterface
- virtual WebContents* GetWebContents() const override {
+ WebContents* GetWebContents() const override {
return save_package_.get() ? save_package_->web_contents() : NULL;
}
- virtual DownloadManager* GetDownloadManager() const override {
- return NULL;
- }
- virtual void PauseRequest() const override {}
- virtual void ResumeRequest() const override {}
- virtual void CancelRequest() const override {}
- virtual std::string DebugString() const override {
+ DownloadManager* GetDownloadManager() const override { return NULL; }
+ void PauseRequest() const override {}
+ void ResumeRequest() const override {}
+ void CancelRequest() const override {}
+ std::string DebugString() const override {
return "SavePackage DownloadRequestHandle";
}
« no previous file with comments | « content/browser/download/save_package.h ('k') | content/browser/file_descriptor_info_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698