OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DATE_TRAY_MONITOR_H_ | 5 #ifndef ASH_SYSTEM_DATE_TRAY_MONITOR_H_ |
6 #define ASH_SYSTEM_DATE_TRAY_MONITOR_H_ | 6 #define ASH_SYSTEM_DATE_TRAY_MONITOR_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "ash/system/tray/system_tray_item.h" | 10 #include "ash/system/tray/system_tray_item.h" |
11 #include "base/process.h" | 11 #include "base/process.h" |
12 #include "base/timer.h" | 12 #include "base/timer/timer.h" |
13 | 13 |
14 namespace views { | 14 namespace views { |
15 class Label; | 15 class Label; |
16 } | 16 } |
17 | 17 |
18 namespace ash { | 18 namespace ash { |
19 namespace internal { | 19 namespace internal { |
20 | 20 |
21 class TrayMonitor : public SystemTrayItem { | 21 class TrayMonitor : public SystemTrayItem { |
22 public: | 22 public: |
(...skipping 11 matching lines...) Expand all Loading... |
34 views::Label* label_; | 34 views::Label* label_; |
35 base::RepeatingTimer<TrayMonitor> refresh_timer_; | 35 base::RepeatingTimer<TrayMonitor> refresh_timer_; |
36 | 36 |
37 DISALLOW_COPY_AND_ASSIGN(TrayMonitor); | 37 DISALLOW_COPY_AND_ASSIGN(TrayMonitor); |
38 }; | 38 }; |
39 | 39 |
40 } // namespace internal | 40 } // namespace internal |
41 } // namespace ash | 41 } // namespace ash |
42 | 42 |
43 #endif // ASH_SYSTEM_DATE_TRAY_MONITOR_H_ | 43 #endif // ASH_SYSTEM_DATE_TRAY_MONITOR_H_ |
OLD | NEW |