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

Unified Diff: chrome/browser/prerender/prerender_local_predictor.cc

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (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
« no previous file with comments | « chrome/browser/prerender/prerender_local_predictor.h ('k') | chrome/browser/prerender/prerender_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_local_predictor.cc
diff --git a/chrome/browser/prerender/prerender_local_predictor.cc b/chrome/browser/prerender/prerender_local_predictor.cc
index cd87edc541f165590e1763b5fe1b0ef0b3bb75ca..ecc68e550a29bc1ae701ff596f3bd66c41c5d4b0 100644
--- a/chrome/browser/prerender/prerender_local_predictor.cc
+++ b/chrome/browser/prerender/prerender_local_predictor.cc
@@ -176,14 +176,14 @@ class GetURLForURLIDTask : public history::HistoryDBTask {
}
virtual bool RunOnDBThread(history::HistoryBackend* backend,
- history::HistoryDatabase* db) OVERRIDE {
+ history::HistoryDatabase* db) override {
DoURLLookup(db, &request_->source_url_);
for (int i = 0; i < static_cast<int>(request_->candidate_urls_.size()); i++)
DoURLLookup(db, &request_->candidate_urls_[i]);
return true;
}
- virtual void DoneRunOnMainThread() OVERRIDE {
+ virtual void DoneRunOnMainThread() override {
callback_.Run();
TIMING_HISTOGRAM("Prerender.LocalPredictorURLLookupTime",
base::Time::Now() - start_time_);
@@ -217,12 +217,12 @@ class GetVisitHistoryTask : public history::HistoryDBTask {
}
virtual bool RunOnDBThread(history::HistoryBackend* backend,
- history::HistoryDatabase* db) OVERRIDE {
+ history::HistoryDatabase* db) override {
db->GetBriefVisitInfoOfMostRecentVisits(max_visits_, visit_history_.get());
return true;
}
- virtual void DoneRunOnMainThread() OVERRIDE {
+ virtual void DoneRunOnMainThread() override {
local_predictor_->OnGetInitialVisitHistory(visit_history_.Pass());
}
« no previous file with comments | « chrome/browser/prerender/prerender_local_predictor.h ('k') | chrome/browser/prerender/prerender_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698