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

Unified Diff: chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (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/toolbar/recent_tabs_sub_menu_model_unittest.cc
diff --git a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc
index 9e2c21112cf568d3105e2a8697fe3aba8199bdff..dcdeedf7c453ad2acf0dfcda68c075b7b7732fb6 100644
--- a/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc
+++ b/chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc
@@ -52,14 +52,14 @@ class TestRecentTabsSubMenuModel : public RecentTabsSubMenuModel {
}
// Testing overrides to ui::SimpleMenuModel::Delegate:
- virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE {
+ virtual bool IsCommandIdEnabled(int command_id) const override {
bool val = RecentTabsSubMenuModel::IsCommandIdEnabled(command_id);
if (val)
++enable_count_;
return val;
}
- virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE {
+ virtual void ExecuteCommand(int command_id, int event_flags) override {
++execute_count_;
}
@@ -87,10 +87,10 @@ class TestRecentTabsMenuModelDelegate : public ui::MenuModelDelegate {
// ui::MenuModelDelegate implementation:
- virtual void OnIconChanged(int index) OVERRIDE {
+ virtual void OnIconChanged(int index) override {
}
- virtual void OnMenuStructureChanged() OVERRIDE {
+ virtual void OnMenuStructureChanged() override {
got_changes_ = true;
}
@@ -107,8 +107,8 @@ class DummyRouter : public browser_sync::LocalSessionEventRouter {
public:
virtual ~DummyRouter() {}
virtual void StartRoutingTo(
- browser_sync::LocalSessionEventHandler* handler) OVERRIDE {}
- virtual void Stop() OVERRIDE {}
+ browser_sync::LocalSessionEventHandler* handler) override {}
+ virtual void Stop() override {}
};
} // namespace
« no previous file with comments | « chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.h ('k') | chrome/browser/ui/toolbar/test_toolbar_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698