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

Unified Diff: chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (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/webui/ntp/suggestions_combiner_unittest.cc
diff --git a/chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc b/chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc
index f74b81fcba6342ade108af8647fbf5fb874d7980..236483a48584cadbb7d6ecf1bfbced526a304b6c 100644
--- a/chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc
+++ b/chrome/browser/ui/webui/ntp/suggestions_combiner_unittest.cc
@@ -154,16 +154,16 @@ class SuggestionsSourceStub : public SuggestionsSource {
private:
// SuggestionsSource Override and implementation.
- virtual void SetDebug(bool enable) OVERRIDE {
+ virtual void SetDebug(bool enable) override {
debug_ = enable;
}
- virtual int GetWeight() OVERRIDE {
+ virtual int GetWeight() override {
return weight_;
}
- virtual int GetItemCount() OVERRIDE {
+ virtual int GetItemCount() override {
return items_.size();
}
- virtual base::DictionaryValue* PopItem() OVERRIDE {
+ virtual base::DictionaryValue* PopItem() override {
if (items_.empty())
return NULL;
base::DictionaryValue* item = items_.front();
@@ -171,7 +171,7 @@ class SuggestionsSourceStub : public SuggestionsSource {
return item;
}
- virtual void FetchItems(Profile* profile) OVERRIDE {
+ virtual void FetchItems(Profile* profile) override {
char num_str[21]; // Enough to hold all numbers up to 64-bits.
for (int i = 0; i < number_of_suggestions_; ++i) {
base::snprintf(num_str, sizeof(num_str), "%d", i);
@@ -187,7 +187,7 @@ class SuggestionsSourceStub : public SuggestionsSource {
items_.push_back(item);
}
- virtual void SetCombiner(SuggestionsCombiner* combiner) OVERRIDE {
+ virtual void SetCombiner(SuggestionsCombiner* combiner) override {
DCHECK(!combiner_);
combiner_ = combiner;
}
« no previous file with comments | « chrome/browser/ui/webui/ntp/recently_closed_tabs_handler.h ('k') | chrome/browser/ui/webui/ntp/suggestions_page_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698