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 #ifndef ASH_SYSTEM_SESSION_TRAY_SESSION_LENGTH_LIMIT_H_ | 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_SESSION_TRAY_SESSION_LENGTH_LIMIT_H_ |
6 #define ASH_SYSTEM_SESSION_TRAY_SESSION_LENGTH_LIMIT_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_SESSION_TRAY_SESSION_LENGTH_LIMIT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/system/session/session_length_limit_observer.h" | 10 #include "ash/common/system/chromeos/session/session_length_limit_observer.h" |
11 #include "ash/system/tray/system_tray_item.h" | 11 #include "ash/common/system/tray/system_tray_item.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "base/timer/timer.h" | 15 #include "base/timer/timer.h" |
16 | 16 |
17 namespace ash { | 17 namespace ash { |
18 namespace test { | 18 namespace test { |
19 class TraySessionLengthLimitTest; | 19 class TraySessionLengthLimitTest; |
20 } | 20 } |
21 | 21 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 LimitState last_limit_state_; // State of last notification update. | 65 LimitState last_limit_state_; // State of last notification update. |
66 | 66 |
67 LabelTrayView* tray_bubble_view_; | 67 LabelTrayView* tray_bubble_view_; |
68 std::unique_ptr<base::RepeatingTimer> timer_; | 68 std::unique_ptr<base::RepeatingTimer> timer_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(TraySessionLengthLimit); | 70 DISALLOW_COPY_AND_ASSIGN(TraySessionLengthLimit); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace ash | 73 } // namespace ash |
74 | 74 |
75 #endif // ASH_SYSTEM_SESSION_TRAY_SESSION_LENGTH_LIMIT_H_ | 75 #endif // ASH_COMMON_SYSTEM_CHROMEOS_SESSION_TRAY_SESSION_LENGTH_LIMIT_H_ |
OLD | NEW |