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_COMMON_SYSTEM_CHROMEOS_SUPERVISED_TRAY_SUPERVISED_USER_H_ | 5 #ifndef ASH_SYSTEM_SUPERVISED_TRAY_SUPERVISED_USER_H_ |
6 #define ASH_COMMON_SYSTEM_CHROMEOS_SUPERVISED_TRAY_SUPERVISED_USER_H_ | 6 #define ASH_SYSTEM_SUPERVISED_TRAY_SUPERVISED_USER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "ash/common/system/chromeos/supervised/custodian_info_tray_observer.h" | 9 #include "ash/system/supervised/custodian_info_tray_observer.h" |
10 #include "ash/common/system/tray/system_tray_item.h" | 10 #include "ash/system/tray/system_tray_item.h" |
11 #include "ash/common/system/tray/view_click_listener.h" | 11 #include "ash/system/tray/view_click_listener.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
14 | 14 |
15 namespace ash { | 15 namespace ash { |
16 class LabelTrayView; | 16 class LabelTrayView; |
17 class SystemTray; | 17 class SystemTray; |
18 | 18 |
19 class ASH_EXPORT TraySupervisedUser : public SystemTrayItem, | 19 class ASH_EXPORT TraySupervisedUser : public SystemTrayItem, |
20 public ViewClickListener, | 20 public ViewClickListener, |
21 public CustodianInfoTrayObserver { | 21 public CustodianInfoTrayObserver { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 LoginStatus status_; | 55 LoginStatus status_; |
56 | 56 |
57 // Previous user supervised state to avoid showing notification upon unlock. | 57 // Previous user supervised state to avoid showing notification upon unlock. |
58 bool is_user_supervised_; | 58 bool is_user_supervised_; |
59 | 59 |
60 DISALLOW_COPY_AND_ASSIGN(TraySupervisedUser); | 60 DISALLOW_COPY_AND_ASSIGN(TraySupervisedUser); |
61 }; | 61 }; |
62 | 62 |
63 } // namespace ash | 63 } // namespace ash |
64 | 64 |
65 #endif // ASH_COMMON_SYSTEM_CHROMEOS_SUPERVISED_TRAY_SUPERVISED_USER_H_ | 65 #endif // ASH_SYSTEM_SUPERVISED_TRAY_SUPERVISED_USER_H_ |
OLD | NEW |