| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "ash/system/session/tray_session_length_limit.h" | 5 #include "ash/system/session/tray_session_length_limit.h" |
| 6 | 6 |
| 7 #include "ash/common/test/test_system_tray_delegate.h" | |
| 8 #include "ash/system/tray/system_tray.h" | 7 #include "ash/system/tray/system_tray.h" |
| 9 #include "ash/test/ash_test_base.h" | 8 #include "ash/test/ash_test_base.h" |
| 9 #include "ash/test/test_system_tray_delegate.h" |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "ui/message_center/message_center.h" | 12 #include "ui/message_center/message_center.h" |
| 13 #include "ui/message_center/notification.h" | 13 #include "ui/message_center/notification.h" |
| 14 #include "ui/message_center/notification_types.h" | 14 #include "ui/message_center/notification_types.h" |
| 15 | 15 |
| 16 namespace ash { | 16 namespace ash { |
| 17 namespace test { | 17 namespace test { |
| 18 | 18 |
| 19 class TraySessionLengthLimitTest : public AshTestBase { | 19 class TraySessionLengthLimitTest : public AshTestBase { |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 // re-appear and be re-read. | 148 // re-appear and be re-read. |
| 149 UpdateSessionLengthLimitInMin(15); | 149 UpdateSessionLengthLimitInMin(15); |
| 150 notification = GetNotification(); | 150 notification = GetNotification(); |
| 151 EXPECT_TRUE(notification); | 151 EXPECT_TRUE(notification); |
| 152 EXPECT_TRUE(notification->rich_notification_data() | 152 EXPECT_TRUE(notification->rich_notification_data() |
| 153 .should_make_spoken_feedback_for_popup_updates); | 153 .should_make_spoken_feedback_for_popup_updates); |
| 154 } | 154 } |
| 155 | 155 |
| 156 } // namespace test | 156 } // namespace test |
| 157 } // namespace ash | 157 } // namespace ash |
| OLD | NEW |