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

Side by Side Diff: ash/common/system/chromeos/session/tray_session_length_limit_unittest.cc

Issue 2148593004: mash: Move StatusTray and StatusAreaWidget to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@traydisplay
Patch Set: rebase Created 4 years, 5 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
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ash/common/system/chromeos/session/tray_session_length_limit.cc ('k') | ash/common/system/chromeos/tray_tracing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698