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/common/system/chromeos/session/tray_session_length_limit.h" | 5 #include "ash/common/system/chromeos/session/tray_session_length_limit.h" |
6 | 6 |
7 #include "ash/system/tray/system_tray.h" | 7 #include "ash/common/system/tray/system_tray.h" |
8 #include "ash/test/ash_test_base.h" | 8 #include "ash/test/ash_test_base.h" |
9 #include "ash/test/test_system_tray_delegate.h" | 9 #include "ash/test/test_system_tray_delegate.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "ui/message_center/message_center.h" | 11 #include "ui/message_center/message_center.h" |
12 #include "ui/message_center/notification.h" | 12 #include "ui/message_center/notification.h" |
13 #include "ui/message_center/notification_types.h" | 13 #include "ui/message_center/notification_types.h" |
14 | 14 |
15 namespace ash { | 15 namespace ash { |
16 namespace test { | 16 namespace test { |
17 | 17 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 // re-appear and be re-read. | 147 // re-appear and be re-read. |
148 UpdateSessionLengthLimitInMin(15); | 148 UpdateSessionLengthLimitInMin(15); |
149 notification = GetNotification(); | 149 notification = GetNotification(); |
150 EXPECT_TRUE(notification); | 150 EXPECT_TRUE(notification); |
151 EXPECT_TRUE(notification->rich_notification_data() | 151 EXPECT_TRUE(notification->rich_notification_data() |
152 .should_make_spoken_feedback_for_popup_updates); | 152 .should_make_spoken_feedback_for_popup_updates); |
153 } | 153 } |
154 | 154 |
155 } // namespace test | 155 } // namespace test |
156 } // namespace ash | 156 } // namespace ash |
OLD | NEW |