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

Unified Diff: chrome/browser/notifications/message_center_notifications_browsertest.cc

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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/notifications/message_center_notifications_browsertest.cc
diff --git a/chrome/browser/notifications/message_center_notifications_browsertest.cc b/chrome/browser/notifications/message_center_notifications_browsertest.cc
index a475041403b9eaf0f8f954214579b814e5de937a..9563d612377e462e959655f67286fd5e9a1693e7 100644
--- a/chrome/browser/notifications/message_center_notifications_browsertest.cc
+++ b/chrome/browser/notifications/message_center_notifications_browsertest.cc
@@ -31,14 +31,14 @@ class TestAddObserver : public message_center::MessageCenterObserver {
virtual ~TestAddObserver() { message_center_->RemoveObserver(this); }
- virtual void OnNotificationAdded(const std::string& id) OVERRIDE {
+ virtual void OnNotificationAdded(const std::string& id) override {
std::string log = logs_[id];
if (log != "")
log += "_";
logs_[id] = log + "add-" + id;
}
- virtual void OnNotificationUpdated(const std::string& id) OVERRIDE {
+ virtual void OnNotificationUpdated(const std::string& id) override {
std::string log = logs_[id];
if (log != "")
log += "_";
@@ -72,19 +72,19 @@ class MessageCenterNotificationsTest : public InProcessBrowserTest {
public:
explicit TestDelegate(const std::string& id) : id_(id) {}
- virtual void Display() OVERRIDE { log_ += "Display_"; }
- virtual void Error() OVERRIDE { log_ += "Error_"; }
- virtual void Close(bool by_user) OVERRIDE {
+ virtual void Display() override { log_ += "Display_"; }
+ virtual void Error() override { log_ += "Error_"; }
+ virtual void Close(bool by_user) override {
log_ += "Close_";
log_ += ( by_user ? "by_user_" : "programmatically_");
}
- virtual void Click() OVERRIDE { log_ += "Click_"; }
- virtual void ButtonClick(int button_index) OVERRIDE {
+ virtual void Click() override { log_ += "Click_"; }
+ virtual void ButtonClick(int button_index) override {
log_ += "ButtonClick_";
log_ += base::IntToString(button_index) + "_";
}
- virtual std::string id() const OVERRIDE { return id_; }
- virtual content::WebContents* GetWebContents() const OVERRIDE {
+ virtual std::string id() const override { return id_; }
+ virtual content::WebContents* GetWebContents() const override {
return NULL;
}

Powered by Google App Engine
This is Rietveld 408576698