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

Unified Diff: chrome/browser/safe_browsing/malware_details_unittest.cc

Issue 657373004: Standardize usage of virtual/override/final in chrome/browser/safe_browsing/ (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/safe_browsing/malware_details_history.h ('k') | chrome/browser/safe_browsing/ping_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/malware_details_unittest.cc
diff --git a/chrome/browser/safe_browsing/malware_details_unittest.cc b/chrome/browser/safe_browsing/malware_details_unittest.cc
index 3fc29057e2bc7e950f821fd1af96f66218aa5007..390c6b42895c9b9aaf517d311287e9e507c8927c 100644
--- a/chrome/browser/safe_browsing/malware_details_unittest.cc
+++ b/chrome/browser/safe_browsing/malware_details_unittest.cc
@@ -136,7 +136,7 @@ class MalwareDetailsWrap : public MalwareDetails {
}
private:
- virtual ~MalwareDetailsWrap() {}
+ ~MalwareDetailsWrap() override {}
};
class MockSafeBrowsingUIManager : public SafeBrowsingUIManager {
@@ -147,8 +147,7 @@ class MockSafeBrowsingUIManager : public SafeBrowsingUIManager {
: SafeBrowsingUIManager(NULL), run_loop_(NULL) {}
// When the MalwareDetails is done, this is called.
- virtual void SendSerializedMalwareDetails(
- const std::string& serialized) override {
+ void SendSerializedMalwareDetails(const std::string& serialized) override {
DVLOG(1) << "SendSerializedMalwareDetails";
run_loop_->Quit();
run_loop_ = NULL;
@@ -169,7 +168,7 @@ class MockSafeBrowsingUIManager : public SafeBrowsingUIManager {
}
private:
- virtual ~MockSafeBrowsingUIManager() {}
+ ~MockSafeBrowsingUIManager() override {}
std::string serialized_;
DISALLOW_COPY_AND_ASSIGN(MockSafeBrowsingUIManager);
« no previous file with comments | « chrome/browser/safe_browsing/malware_details_history.h ('k') | chrome/browser/safe_browsing/ping_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698