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

Unified Diff: chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h 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/chromeos/net/network_portal_notification_controller_unittest.cc
diff --git a/chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc b/chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc
index 3ef1ad760fb18e3902a7e2e245c39d59b19658f2..ee1064e79747205700d16f7ae328f15d0136f6d7 100644
--- a/chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc
+++ b/chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc
@@ -30,19 +30,19 @@ class NotificationObserver : public message_center::MessageCenterObserver {
// Overridden from message_center::MessageCenterObserver:
virtual void OnNotificationAdded(
- const std::string& notification_id) OVERRIDE {
+ const std::string& notification_id) override {
if (notification_id == kNotificationId)
++add_count_;
}
virtual void OnNotificationRemoved(const std::string& notification_id,
- bool /* by_user */) OVERRIDE {
+ bool /* by_user */) override {
if (notification_id == kNotificationId)
++remove_count_;
}
virtual void OnNotificationUpdated(
- const std::string& notification_id) OVERRIDE {
+ const std::string& notification_id) override {
if (notification_id == kNotificationId)
++update_count_;
}
@@ -66,14 +66,14 @@ class NetworkPortalNotificationControllerTest : public testing::Test {
NetworkPortalNotificationControllerTest() {}
virtual ~NetworkPortalNotificationControllerTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
CommandLine* cl = CommandLine::ForCurrentProcess();
cl->AppendSwitch(switches::kEnableNetworkPortalNotification);
MessageCenter::Initialize();
MessageCenter::Get()->AddObserver(&observer_);
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
MessageCenter::Get()->RemoveObserver(&observer_);
MessageCenter::Shutdown();
}
« no previous file with comments | « chrome/browser/chromeos/net/network_portal_notification_controller.cc ('k') | chrome/browser/chromeos/net/onc_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698