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

Unified Diff: chrome/browser/ui/sync/profile_signin_confirmation_helper.cc

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/ui/sync/profile_signin_confirmation_helper.cc
diff --git a/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc b/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc
index 5d6debdb6ad1dd294aabda9b48ec83517bbc2c44..98d68a13a5365cfd6247f2b4a6b0dfa385248169 100644
--- a/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc
+++ b/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc
@@ -42,8 +42,8 @@ class HasTypedURLsTask : public history::HistoryDBTask {
: has_typed_urls_(false), cb_(cb) {
}
- virtual bool RunOnDBThread(history::HistoryBackend* backend,
- history::HistoryDatabase* db) override {
+ bool RunOnDBThread(history::HistoryBackend* backend,
+ history::HistoryDatabase* db) override {
history::URLRows rows;
backend->GetAllTypedURLs(&rows);
if (!rows.empty()) {
@@ -54,12 +54,10 @@ class HasTypedURLsTask : public history::HistoryDBTask {
return true;
}
- virtual void DoneRunOnMainThread() override {
- cb_.Run(has_typed_urls_);
- }
+ void DoneRunOnMainThread() override { cb_.Run(has_typed_urls_); }
private:
- virtual ~HasTypedURLsTask() {}
+ ~HasTypedURLsTask() override {}
bool has_typed_urls_;
base::Callback<void(bool)> cb_;

Powered by Google App Engine
This is Rietveld 408576698