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

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

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 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
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/logout_confirmation_controller.h" 5 #include "ash/system/session/logout_confirmation_controller.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/login_status.h" 9 #include "ash/common/login_status.h"
10 #include "ash/common/system/chromeos/session/logout_confirmation_dialog.h"
11 #include "ash/common/system/tray/system_tray_delegate.h"
12 #include "ash/common/system/tray/system_tray_notifier.h"
13 #include "ash/common/wm_shell.h" 10 #include "ash/common/wm_shell.h"
11 #include "ash/system/session/logout_confirmation_dialog.h"
12 #include "ash/system/tray/system_tray_delegate.h"
13 #include "ash/system/tray/system_tray_notifier.h"
14 #include "base/location.h" 14 #include "base/location.h"
15 #include "base/time/default_tick_clock.h" 15 #include "base/time/default_tick_clock.h"
16 #include "base/time/tick_clock.h" 16 #include "base/time/tick_clock.h"
17 #include "ui/views/widget/widget.h" 17 #include "ui/views/widget/widget.h"
18 18
19 namespace ash { 19 namespace ash {
20 namespace { 20 namespace {
21 const int kLogoutConfirmationDelayInSeconds = 20; 21 const int kLogoutConfirmationDelayInSeconds = 20;
22 } 22 }
23 23
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 99 }
100 100
101 // Ask the user to confirm logout if a public session is in progress and the 101 // Ask the user to confirm logout if a public session is in progress and the
102 // screen is not locked. 102 // screen is not locked.
103 ConfirmLogout( 103 ConfirmLogout(
104 base::TimeTicks::Now() + 104 base::TimeTicks::Now() +
105 base::TimeDelta::FromSeconds(kLogoutConfirmationDelayInSeconds)); 105 base::TimeDelta::FromSeconds(kLogoutConfirmationDelayInSeconds));
106 } 106 }
107 107
108 } // namespace ash 108 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/session/logout_confirmation_controller.h ('k') | ash/system/session/logout_confirmation_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698