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

Side by Side Diff: ash/test/test_system_tray_delegate.h

Issue 621133002: replace OVERRIDE and FINAL with override and final in ash/ (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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_
7 7
8 #include "ash/system/tray/default_system_tray_delegate.h" 8 #include "ash/system/tray/default_system_tray_delegate.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 10
(...skipping 24 matching lines...) Expand all
35 } 35 }
36 36
37 // Updates the session length limit so that the limit will come from now in 37 // Updates the session length limit so that the limit will come from now in
38 // |new_limit|. 38 // |new_limit|.
39 void SetSessionLengthLimitForTest(const base::TimeDelta& new_limit); 39 void SetSessionLengthLimitForTest(const base::TimeDelta& new_limit);
40 40
41 // Clears the session length limit. 41 // Clears the session length limit.
42 void ClearSessionLengthLimit(); 42 void ClearSessionLengthLimit();
43 43
44 // Overridden from SystemTrayDelegate: 44 // Overridden from SystemTrayDelegate:
45 virtual user::LoginStatus GetUserLoginStatus() const OVERRIDE; 45 virtual user::LoginStatus GetUserLoginStatus() const override;
46 virtual bool IsUserSupervised() const OVERRIDE; 46 virtual bool IsUserSupervised() const override;
47 virtual bool ShouldShowDisplayNotification() OVERRIDE; 47 virtual bool ShouldShowDisplayNotification() override;
48 virtual bool GetSessionStartTime( 48 virtual bool GetSessionStartTime(
49 base::TimeTicks* session_start_time) OVERRIDE; 49 base::TimeTicks* session_start_time) override;
50 virtual bool GetSessionLengthLimit( 50 virtual bool GetSessionLengthLimit(
51 base::TimeDelta* session_length_limit) OVERRIDE; 51 base::TimeDelta* session_length_limit) override;
52 virtual void ShutDown() OVERRIDE; 52 virtual void ShutDown() override;
53 virtual void SignOut() OVERRIDE; 53 virtual void SignOut() override;
54 54
55 private: 55 private:
56 bool should_show_display_notification_; 56 bool should_show_display_notification_;
57 user::LoginStatus login_status_; 57 user::LoginStatus login_status_;
58 base::TimeDelta session_length_limit_; 58 base::TimeDelta session_length_limit_;
59 bool session_length_limit_set_; 59 bool session_length_limit_set_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayDelegate); 61 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayDelegate);
62 }; 62 };
63 63
64 } // namespace test 64 } // namespace test
65 } // namespace ash 65 } // namespace ash
66 66
67 #endif // ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_ 67 #endif // ASH_TEST_TEST_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« 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