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

Unified Diff: chrome/browser/history/history_service.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
« no previous file with comments | « chrome/browser/history/history_service.h ('k') | chrome/browser/history/history_service_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_service.cc
diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc
index 81e10d3157d7e5616189298743baff6e27b73446..3f32cce34e7ec0379d3ca39f43f8b2330224d55c 100644
--- a/chrome/browser/history/history_service.cc
+++ b/chrome/browser/history/history_service.cc
@@ -101,11 +101,11 @@ class URLIteratorFromURLRows
end_(url_rows.end()) {
}
- virtual const GURL& NextURL() OVERRIDE {
+ virtual const GURL& NextURL() override {
return (itr_++)->url();
}
- virtual bool HasNextURL() const OVERRIDE {
+ virtual bool HasNextURL() const override {
return itr_ != end_;
}
@@ -141,7 +141,7 @@ class HistoryService::BackendDelegate : public HistoryBackend::Delegate {
profile_(profile) {
}
- virtual void NotifyProfileError(sql::InitStatus init_status) OVERRIDE {
+ virtual void NotifyProfileError(sql::InitStatus init_status) override {
// Send to the history service on the main thread.
service_task_runner_->PostTask(
FROM_HERE,
@@ -150,7 +150,7 @@ class HistoryService::BackendDelegate : public HistoryBackend::Delegate {
}
virtual void SetInMemoryBackend(
- scoped_ptr<history::InMemoryHistoryBackend> backend) OVERRIDE {
+ scoped_ptr<history::InMemoryHistoryBackend> backend) override {
// Send the backend to the history service on the main thread.
service_task_runner_->PostTask(
FROM_HERE,
@@ -158,7 +158,7 @@ class HistoryService::BackendDelegate : public HistoryBackend::Delegate {
base::Passed(&backend)));
}
- virtual void NotifyFaviconChanged(const std::set<GURL>& urls) OVERRIDE {
+ virtual void NotifyFaviconChanged(const std::set<GURL>& urls) override {
// Send the notification to the history service on the main thread.
service_task_runner_->PostTask(
FROM_HERE,
@@ -168,7 +168,7 @@ class HistoryService::BackendDelegate : public HistoryBackend::Delegate {
virtual void BroadcastNotifications(
int type,
- scoped_ptr<history::HistoryDetails> details) OVERRIDE {
+ scoped_ptr<history::HistoryDetails> details) override {
// Send the notification on the history thread.
if (content::NotificationService::current()) {
content::Details<history::HistoryDetails> det(details.get());
@@ -182,14 +182,14 @@ class HistoryService::BackendDelegate : public HistoryBackend::Delegate {
history_service_, type, base::Passed(&details)));
}
- virtual void DBLoaded() OVERRIDE {
+ virtual void DBLoaded() override {
service_task_runner_->PostTask(
FROM_HERE,
base::Bind(&HistoryService::OnDBLoaded, history_service_));
}
virtual void NotifyVisitDBObserversOnAddVisit(
- const history::BriefVisitInfo& info) OVERRIDE {
+ const history::BriefVisitInfo& info) override {
service_task_runner_->PostTask(
FROM_HERE,
base::Bind(&HistoryService::NotifyVisitDBObserversOnAddVisit,
« no previous file with comments | « chrome/browser/history/history_service.h ('k') | chrome/browser/history/history_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698