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

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

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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: chrome/browser/safe_browsing/download_protection_service.cc
diff --git a/chrome/browser/safe_browsing/download_protection_service.cc b/chrome/browser/safe_browsing/download_protection_service.cc
index d9edf0fceacee6d9703bfa624f4904e1e14864c5..b00646a2c1fbf45d133b1c4bad56e802b5fed15e 100644
--- a/chrome/browser/safe_browsing/download_protection_service.cc
+++ b/chrome/browser/safe_browsing/download_protection_service.cc
@@ -236,7 +236,7 @@ class DownloadUrlSBClient : public DownloadSBClient {
DOWNLOAD_URL_CHECKS_MALWARE),
database_manager_(database_manager) { }
- virtual void StartCheck() OVERRIDE {
+ virtual void StartCheck() override {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
if (!database_manager_.get() ||
database_manager_->CheckDownloadUrl(url_chain_, this)) {
@@ -246,12 +246,12 @@ class DownloadUrlSBClient : public DownloadSBClient {
}
}
- virtual bool IsDangerous(SBThreatType threat_type) const OVERRIDE {
+ virtual bool IsDangerous(SBThreatType threat_type) const override {
return threat_type == SB_THREAT_TYPE_BINARY_MALWARE_URL;
}
virtual void OnCheckDownloadUrlResult(const std::vector<GURL>& url_chain,
- SBThreatType threat_type) OVERRIDE {
+ SBThreatType threat_type) override {
CheckDone(threat_type);
UMA_HISTOGRAM_TIMES("SB2.DownloadUrlCheckDuration",
base::TimeTicks::Now() - start_time_);
@@ -378,13 +378,13 @@ class DownloadProtectionService::CheckClientDownloadRequest
}
// content::DownloadItem::Observer implementation.
- virtual void OnDownloadDestroyed(content::DownloadItem* download) OVERRIDE {
+ virtual void OnDownloadDestroyed(content::DownloadItem* download) override {
Cancel();
DCHECK(item_ == NULL);
}
// From the net::URLFetcherDelegate interface.
- virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE {
+ virtual void OnURLFetchComplete(const net::URLFetcher* source) override {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DCHECK_EQ(source, fetcher_.get());
VLOG(2) << "Received a response for URL: "

Powered by Google App Engine
This is Rietveld 408576698