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

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

Issue 178183005: Add LogoutConfirmationController to show LogoutConfirmationDialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed. Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_length_limit/tray_session_length_limit.h" 5 #include "ash/system/session/tray_session_length_limit.h"
6 6
7 #include "ash/root_window_controller.h" 7 #include "ash/root_window_controller.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/system/tray/system_tray.h" 9 #include "ash/system/tray/system_tray.h"
10 #include "ash/test/ash_test_base.h" 10 #include "ash/test/ash_test_base.h"
11 #include "ash/test/test_system_tray_delegate.h" 11 #include "ash/test/test_system_tray_delegate.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "ui/message_center/message_center.h" 13 #include "ui/message_center/message_center.h"
14 #include "ui/message_center/notification.h" 14 #include "ui/message_center/notification.h"
15 #include "ui/message_center/notification_types.h" 15 #include "ui/message_center/notification_types.h"
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 RemoveNotification(); 186 RemoveNotification();
187 187
188 // Session length limit is updated to longer state. This should not re-appear 188 // Session length limit is updated to longer state. This should not re-appear
189 // the notification. 189 // the notification.
190 UpdateSessionLengthLimitInMin(15); 190 UpdateSessionLengthLimitInMin(15);
191 EXPECT_FALSE(GetNotification()); 191 EXPECT_FALSE(GetNotification());
192 } 192 }
193 193
194 } // namespace test 194 } // namespace test
195 } // namespace ash 195 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/session/tray_session_length_limit.cc ('k') | ash/system/session_length_limit/session_length_limit_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698