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

Unified Diff: ash/common/test/test_system_tray_delegate.h

Issue 2400553002: ash: Remove broken display notification suppression when settings is open (Closed)
Patch Set: fix comment Created 4 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/common/system/tray/system_tray_delegate.cc ('k') | ash/common/test/test_system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/test/test_system_tray_delegate.h
diff --git a/ash/common/test/test_system_tray_delegate.h b/ash/common/test/test_system_tray_delegate.h
index df3e72effaf50f60f34dd09ec3f209a825048ba5..3f5ca4aceaee9e0804283cc4afbab2860af525b5 100644
--- a/ash/common/test/test_system_tray_delegate.h
+++ b/ash/common/test/test_system_tray_delegate.h
@@ -37,10 +37,6 @@ class TestSystemTrayDelegate : public DefaultSystemTrayDelegate {
// consider using SetInitialLoginStatus() instead.
void SetLoginStatus(LoginStatus login_status);
- void set_should_show_display_notification(bool should_show) {
- should_show_display_notification_ = should_show;
- }
-
// Updates the session length limit so that the limit will come from now in
// |new_limit|.
void SetSessionLengthLimitForTest(const base::TimeDelta& new_limit);
@@ -58,7 +54,6 @@ class TestSystemTrayDelegate : public DefaultSystemTrayDelegate {
LoginStatus GetUserLoginStatus() const override;
bool IsUserSupervised() const override;
void GetSystemUpdateInfo(UpdateInfo* info) const override;
- bool ShouldShowDisplayNotification() override;
bool GetSessionStartTime(base::TimeTicks* session_start_time) override;
bool GetSessionLengthLimit(base::TimeDelta* session_length_limit) override;
void SignOut() override;
@@ -66,7 +61,6 @@ class TestSystemTrayDelegate : public DefaultSystemTrayDelegate {
void GetAvailableIMEList(IMEInfoList* list) override;
private:
- bool should_show_display_notification_;
LoginStatus login_status_;
base::TimeDelta session_length_limit_;
bool session_length_limit_set_;
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.cc ('k') | ash/common/test/test_system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698