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

Unified Diff: ash/test/test_system_tray_delegate.h

Issue 683623002: Standardize usage of virtual/override/final specifiers. (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
« no previous file with comments | « ash/test/test_suite.h ('k') | ash/test/test_user_wallpaper_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_system_tray_delegate.h
diff --git a/ash/test/test_system_tray_delegate.h b/ash/test/test_system_tray_delegate.h
index 5453093a2feddb8653e672679788f611f04a72b7..e261588db9e93a5ce0361e5824e69efeb7c71826 100644
--- a/ash/test/test_system_tray_delegate.h
+++ b/ash/test/test_system_tray_delegate.h
@@ -14,7 +14,7 @@ namespace test {
class TestSystemTrayDelegate : public DefaultSystemTrayDelegate {
public:
TestSystemTrayDelegate();
- virtual ~TestSystemTrayDelegate();
+ ~TestSystemTrayDelegate() override;
// Changes the login status when initially the delegate is created. This will
// be called before AshTestBase::SetUp() to test the case when chrome is
@@ -42,15 +42,13 @@ class TestSystemTrayDelegate : public DefaultSystemTrayDelegate {
void ClearSessionLengthLimit();
// Overridden from SystemTrayDelegate:
- virtual user::LoginStatus GetUserLoginStatus() const override;
- virtual bool IsUserSupervised() const override;
- virtual bool ShouldShowDisplayNotification() override;
- virtual bool GetSessionStartTime(
- base::TimeTicks* session_start_time) override;
- virtual bool GetSessionLengthLimit(
- base::TimeDelta* session_length_limit) override;
- virtual void ShutDown() override;
- virtual void SignOut() override;
+ user::LoginStatus GetUserLoginStatus() const override;
+ bool IsUserSupervised() const override;
+ bool ShouldShowDisplayNotification() override;
+ bool GetSessionStartTime(base::TimeTicks* session_start_time) override;
+ bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override;
+ void ShutDown() override;
+ void SignOut() override;
private:
bool should_show_display_notification_;
« no previous file with comments | « ash/test/test_suite.h ('k') | ash/test/test_user_wallpaper_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698