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

Unified Diff: components/enhanced_bookmarks/enhanced_bookmark_model_unittest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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: components/enhanced_bookmarks/enhanced_bookmark_model_unittest.cc
diff --git a/components/enhanced_bookmarks/enhanced_bookmark_model_unittest.cc b/components/enhanced_bookmarks/enhanced_bookmark_model_unittest.cc
index e7d6eff358ce274a08e233ced68a7bfc3f10c81e..b2c0aaef2fe83c9a4413ef6e88aa27e63045f0b9 100644
--- a/components/enhanced_bookmarks/enhanced_bookmark_model_unittest.cc
+++ b/components/enhanced_bookmarks/enhanced_bookmark_model_unittest.cc
@@ -41,7 +41,7 @@ class EnhancedBookmarkModelTest
last_remote_id_node_(NULL) {}
virtual ~EnhancedBookmarkModelTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
message_loop_.reset(new base::MessageLoop(base::MessageLoop::TYPE_DEFAULT));
bookmark_client_.reset(new bookmarks::TestBookmarkClient());
bookmark_model_.reset(bookmark_client_->CreateModel().release());
@@ -49,7 +49,7 @@ class EnhancedBookmarkModelTest
model_->AddObserver(this);
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
if (model_)
model_->Shutdown();
model_.reset();
@@ -107,25 +107,25 @@ class EnhancedBookmarkModelTest
scoped_ptr<EnhancedBookmarkModel> model_;
// EnhancedBookmarkModelObserver implementation:
- virtual void EnhancedBookmarkModelLoaded() OVERRIDE { loaded_calls_++; }
- virtual void EnhancedBookmarkModelShuttingDown() OVERRIDE {
+ virtual void EnhancedBookmarkModelLoaded() override { loaded_calls_++; }
+ virtual void EnhancedBookmarkModelShuttingDown() override {
shutting_down_calls_++;
}
- virtual void EnhancedBookmarkAdded(const BookmarkNode* node) OVERRIDE {
+ virtual void EnhancedBookmarkAdded(const BookmarkNode* node) override {
added_calls_++;
last_added_ = node;
}
- virtual void EnhancedBookmarkRemoved(const BookmarkNode* node) OVERRIDE {
+ virtual void EnhancedBookmarkRemoved(const BookmarkNode* node) override {
removed_calls_++;
last_removed_ = node;
}
- virtual void EnhancedBookmarkAllUserNodesRemoved() OVERRIDE {
+ virtual void EnhancedBookmarkAllUserNodesRemoved() override {
all_user_nodes_removed_calls_++;
}
virtual void EnhancedBookmarkRemoteIdChanged(
const BookmarkNode* node,
const std::string& old_remote_id,
- const std::string& remote_id) OVERRIDE {
+ const std::string& remote_id) override {
remote_id_changed_calls_++;
last_remote_id_node_ = node;
last_old_remote_id_ = old_remote_id;
« no previous file with comments | « components/enhanced_bookmarks/enhanced_bookmark_model.h ('k') | components/enhanced_bookmarks/image_store_ios_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698