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

Unified Diff: chrome/browser/download/download_history_unittest.cc

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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/download/download_history_unittest.cc
diff --git a/chrome/browser/download/download_history_unittest.cc b/chrome/browser/download/download_history_unittest.cc
index 923621fadb3a417598568cc23d25aec4760e143c..c761a7596e845fed97fd98970293915dc8c8d22e 100644
--- a/chrome/browser/download/download_history_unittest.cc
+++ b/chrome/browser/download/download_history_unittest.cc
@@ -73,7 +73,7 @@ class FakeHistoryAdapter : public DownloadHistory::HistoryAdapter {
virtual ~FakeHistoryAdapter() {}
virtual void QueryDownloads(
- const HistoryService::DownloadQueryCallback& callback) OVERRIDE {
+ const HistoryService::DownloadQueryCallback& callback) override {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
content::BrowserThread::PostTask(content::BrowserThread::UI, FROM_HERE,
base::Bind(&FakeHistoryAdapter::QueryDownloadsDone,
@@ -91,7 +91,7 @@ class FakeHistoryAdapter : public DownloadHistory::HistoryAdapter {
virtual void CreateDownload(
const history::DownloadRow& info,
- const HistoryService::DownloadCreateCallback& callback) OVERRIDE {
+ const HistoryService::DownloadCreateCallback& callback) override {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
create_download_info_ = info;
// Must not call CreateDownload() again before FinishCreateDownload()!
@@ -109,12 +109,12 @@ class FakeHistoryAdapter : public DownloadHistory::HistoryAdapter {
}
virtual void UpdateDownload(
- const history::DownloadRow& info) OVERRIDE {
+ const history::DownloadRow& info) override {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
update_download_ = info;
}
- virtual void RemoveDownloads(const IdSet& ids) OVERRIDE {
+ virtual void RemoveDownloads(const IdSet& ids) override {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
for (IdSet::const_iterator it = ids.begin();
it != ids.end(); ++it) {
@@ -209,7 +209,7 @@ class DownloadHistoryTest : public testing::Test {
}
protected:
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
download_history_.reset();
}
« no previous file with comments | « chrome/browser/download/download_history.h ('k') | chrome/browser/download/download_path_reservation_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698