| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CHROMEOS_POWER_DUAL_ROLE_NOTIFICATION_H_ | 5 #ifndef ASH_SYSTEM_CHROMEOS_POWER_DUAL_ROLE_NOTIFICATION_H_ |
| 6 #define ASH_SYSTEM_CHROMEOS_POWER_DUAL_ROLE_NOTIFICATION_H_ | 6 #define ASH_SYSTEM_CHROMEOS_POWER_DUAL_ROLE_NOTIFICATION_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 9 #include "ash/system/chromeos/power/power_status.h" | 11 #include "ash/system/chromeos/power/power_status.h" |
| 12 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 11 | 14 |
| 12 namespace message_center { | 15 namespace message_center { |
| 13 class MessageCenter; | 16 class MessageCenter; |
| 14 class Notification; | 17 class Notification; |
| 15 } | 18 } |
| 16 | 19 |
| 17 namespace ash { | 20 namespace ash { |
| 18 | 21 |
| 19 // Shows a non-toasting MessageCenter notification based on what dual-role | 22 // Shows a non-toasting MessageCenter notification based on what dual-role |
| (...skipping 15 matching lines...) Expand all Loading... |
| 35 scoped_ptr<PowerStatus::PowerSource> dual_role_sink_; | 38 scoped_ptr<PowerStatus::PowerSource> dual_role_sink_; |
| 36 size_t num_dual_role_sinks_; | 39 size_t num_dual_role_sinks_; |
| 37 bool line_power_connected_; | 40 bool line_power_connected_; |
| 38 | 41 |
| 39 DISALLOW_COPY_AND_ASSIGN(DualRoleNotification); | 42 DISALLOW_COPY_AND_ASSIGN(DualRoleNotification); |
| 40 }; | 43 }; |
| 41 | 44 |
| 42 } // namespace ash | 45 } // namespace ash |
| 43 | 46 |
| 44 #endif // ASH_SYSTEM_CHROMEOS_POWER_DUAL_ROLE_NOTIFICATION_H_ | 47 #endif // ASH_SYSTEM_CHROMEOS_POWER_DUAL_ROLE_NOTIFICATION_H_ |
| OLD | NEW |