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

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

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
Index: ash/common/test/test_system_tray_delegate.cc
diff --git a/ash/common/test/test_system_tray_delegate.cc b/ash/common/test/test_system_tray_delegate.cc
index 4c7f58f4ce377963aed6118a8d27e2608766eae3..a40c227789b65d66b6c76f8ba5b8b14b75730a27 100644
--- a/ash/common/test/test_system_tray_delegate.cc
+++ b/ash/common/test/test_system_tray_delegate.cc
@@ -23,9 +23,7 @@ LoginStatus g_initial_status = LoginStatus::USER;
} // namespace
TestSystemTrayDelegate::TestSystemTrayDelegate()
- : should_show_display_notification_(false),
- login_status_(g_initial_status),
- session_length_limit_set_(false) {}
+ : login_status_(g_initial_status), session_length_limit_set_(false) {}
TestSystemTrayDelegate::~TestSystemTrayDelegate() {}
@@ -91,10 +89,6 @@ void TestSystemTrayDelegate::GetSystemUpdateInfo(UpdateInfo* info) const {
info->factory_reset_required = false;
}
-bool TestSystemTrayDelegate::ShouldShowDisplayNotification() {
- return should_show_display_notification_;
-}
-
bool TestSystemTrayDelegate::GetSessionStartTime(
base::TimeTicks* session_start_time) {
// Just returns TimeTicks::Now(), so the remaining time is always the
« no previous file with comments | « ash/common/test/test_system_tray_delegate.h ('k') | ash/content/display/screen_orientation_controller_chromeos_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698