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

Unified Diff: chrome/browser/ui/webui/signin/login_ui_service_unittest.cc

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (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/signin/login_ui_service_unittest.cc
diff --git a/chrome/browser/ui/webui/signin/login_ui_service_unittest.cc b/chrome/browser/ui/webui/signin/login_ui_service_unittest.cc
index c46b9e6c06f623d8c982f64e6f68b5378f87620a..beb542ed071fe8cc2875588e2ac386157362dd8c 100644
--- a/chrome/browser/ui/webui/signin/login_ui_service_unittest.cc
+++ b/chrome/browser/ui/webui/signin/login_ui_service_unittest.cc
@@ -11,9 +11,9 @@
class TestLoginUI : public LoginUIService::LoginUI {
public:
TestLoginUI() { }
- virtual ~TestLoginUI() { }
- virtual void FocusUI() override { }
- virtual void CloseUI() override { }
+ ~TestLoginUI() override {}
+ void FocusUI() override {}
+ void CloseUI() override {}
private:
DISALLOW_COPY_AND_ASSIGN(TestLoginUI);
@@ -29,11 +29,11 @@ class TestObserver : public LoginUIService::Observer {
int ui_closed_count() const { return ui_closed_count_; }
private:
- virtual void OnLoginUIShown(LoginUIService::LoginUI* ui) override {
+ void OnLoginUIShown(LoginUIService::LoginUI* ui) override {
++ui_shown_count_;
}
- virtual void OnLoginUIClosed(LoginUIService::LoginUI* ui) override {
+ void OnLoginUIClosed(LoginUIService::LoginUI* ui) override {
++ui_closed_count_;
}

Powered by Google App Engine
This is Rietveld 408576698