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

Unified Diff: chrome/browser/plugins/plugin_installer_unittest.cc

Issue 649683010: Standardize usage of virtual/override/final in chrome/browser/plugins (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/plugins/plugin_installer_observer.h ('k') | chrome/browser/plugins/plugin_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugins/plugin_installer_unittest.cc
diff --git a/chrome/browser/plugins/plugin_installer_unittest.cc b/chrome/browser/plugins/plugin_installer_unittest.cc
index 468a6f73c425023e48cf3b7e8191016b54745276..e7846540c404d4b18ecb6919819a97f5cb563c4b 100644
--- a/chrome/browser/plugins/plugin_installer_unittest.cc
+++ b/chrome/browser/plugins/plugin_installer_unittest.cc
@@ -68,12 +68,12 @@ class TestPluginInstallerObserver : public PluginInstallerObserver {
const std::string& download_error() const { return download_error_; }
private:
- virtual void DownloadStarted() override { download_started_ = true; }
- virtual void DownloadFinished() override { download_finished_ = true; }
- virtual void DownloadError(const std::string& message) override {
+ void DownloadStarted() override { download_started_ = true; }
+ void DownloadFinished() override { download_finished_ = true; }
+ void DownloadError(const std::string& message) override {
download_error_ = message;
}
- virtual void DownloadCancelled() override { download_cancelled_ = true; }
+ void DownloadCancelled() override { download_cancelled_ = true; }
bool download_started_;
bool download_finished_;
« no previous file with comments | « chrome/browser/plugins/plugin_installer_observer.h ('k') | chrome/browser/plugins/plugin_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698