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

Unified Diff: chrome/browser/sync/test/integration/typed_urls_helper.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/sync/test/integration/typed_urls_helper.cc
diff --git a/chrome/browser/sync/test/integration/typed_urls_helper.cc b/chrome/browser/sync/test/integration/typed_urls_helper.cc
index d94d540ba24e26b4e3f47add5b998d1af1721204..cd68534b48e2e8da89dce66e6577b20e62d12312 100644
--- a/chrome/browser/sync/test/integration/typed_urls_helper.cc
+++ b/chrome/browser/sync/test/integration/typed_urls_helper.cc
@@ -28,12 +28,12 @@ class FlushHistoryDBQueueTask : public history::HistoryDBTask {
explicit FlushHistoryDBQueueTask(base::WaitableEvent* event)
: wait_event_(event) {}
virtual bool RunOnDBThread(history::HistoryBackend* backend,
- history::HistoryDatabase* db) OVERRIDE {
+ history::HistoryDatabase* db) override {
wait_event_->Signal();
return true;
}
- virtual void DoneRunOnMainThread() OVERRIDE {}
+ virtual void DoneRunOnMainThread() override {}
private:
virtual ~FlushHistoryDBQueueTask() {}
@@ -47,14 +47,14 @@ class GetTypedUrlsTask : public history::HistoryDBTask {
: rows_(rows), wait_event_(event) {}
virtual bool RunOnDBThread(history::HistoryBackend* backend,
- history::HistoryDatabase* db) OVERRIDE {
+ history::HistoryDatabase* db) override {
// Fetch the typed URLs.
backend->GetAllTypedURLs(rows_);
wait_event_->Signal();
return true;
}
- virtual void DoneRunOnMainThread() OVERRIDE {}
+ virtual void DoneRunOnMainThread() override {}
private:
virtual ~GetTypedUrlsTask() {}
@@ -72,14 +72,14 @@ class GetUrlTask : public history::HistoryDBTask {
: url_(url), row_(row), wait_event_(event), found_(found) {}
virtual bool RunOnDBThread(history::HistoryBackend* backend,
- history::HistoryDatabase* db) OVERRIDE {
+ history::HistoryDatabase* db) override {
// Fetch the typed URLs.
*found_ = backend->GetURL(url_, row_);
wait_event_->Signal();
return true;
}
- virtual void DoneRunOnMainThread() OVERRIDE {}
+ virtual void DoneRunOnMainThread() override {}
private:
virtual ~GetUrlTask() {}
@@ -98,14 +98,14 @@ class GetVisitsTask : public history::HistoryDBTask {
: id_(id), visits_(visits), wait_event_(event) {}
virtual bool RunOnDBThread(history::HistoryBackend* backend,
- history::HistoryDatabase* db) OVERRIDE {
+ history::HistoryDatabase* db) override {
// Fetch the visits.
backend->GetVisitsForURL(id_, visits_);
wait_event_->Signal();
return true;
}
- virtual void DoneRunOnMainThread() OVERRIDE {}
+ virtual void DoneRunOnMainThread() override {}
private:
virtual ~GetVisitsTask() {}
@@ -122,14 +122,14 @@ class RemoveVisitsTask : public history::HistoryDBTask {
: visits_(visits), wait_event_(event) {}
virtual bool RunOnDBThread(history::HistoryBackend* backend,
- history::HistoryDatabase* db) OVERRIDE {
+ history::HistoryDatabase* db) override {
// Fetch the visits.
backend->RemoveVisits(visits_);
wait_event_->Signal();
return true;
}
- virtual void DoneRunOnMainThread() OVERRIDE {}
+ virtual void DoneRunOnMainThread() override {}
private:
virtual ~RemoveVisitsTask() {}
@@ -397,8 +397,8 @@ class ProfilesHaveSameURLsChecker : public MultiClientStatusChangeChecker {
ProfilesHaveSameURLsChecker();
virtual ~ProfilesHaveSameURLsChecker();
- virtual bool IsExitConditionSatisfied() OVERRIDE;
- virtual std::string GetDebugMessage() const OVERRIDE;
+ virtual bool IsExitConditionSatisfied() override;
+ virtual std::string GetDebugMessage() const override;
};
ProfilesHaveSameURLsChecker::ProfilesHaveSameURLsChecker()

Powered by Google App Engine
This is Rietveld 408576698