| 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_COMMON_SYSTEM_CHROMEOS_POWER_DUAL_ROLE_NOTIFICATION_H_ | 5 #ifndef ASH_SYSTEM_POWER_DUAL_ROLE_NOTIFICATION_H_ |
| 6 #define ASH_COMMON_SYSTEM_CHROMEOS_POWER_DUAL_ROLE_NOTIFICATION_H_ | 6 #define ASH_SYSTEM_POWER_DUAL_ROLE_NOTIFICATION_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "ash/ash_export.h" | 12 #include "ash/ash_export.h" |
| 13 #include "ash/common/system/chromeos/power/power_status.h" | 13 #include "ash/system/power/power_status.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 | 15 |
| 16 namespace message_center { | 16 namespace message_center { |
| 17 class MessageCenter; | 17 class MessageCenter; |
| 18 class Notification; | 18 class Notification; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace ash { | 21 namespace ash { |
| 22 | 22 |
| 23 // Shows a non-toasting MessageCenter notification based on what dual-role | 23 // Shows a non-toasting MessageCenter notification based on what dual-role |
| (...skipping 14 matching lines...) Expand all Loading... |
| 38 std::unique_ptr<PowerStatus::PowerSource> dual_role_source_; | 38 std::unique_ptr<PowerStatus::PowerSource> dual_role_source_; |
| 39 std::unique_ptr<PowerStatus::PowerSource> dual_role_sink_; | 39 std::unique_ptr<PowerStatus::PowerSource> dual_role_sink_; |
| 40 size_t num_dual_role_sinks_; | 40 size_t num_dual_role_sinks_; |
| 41 bool line_power_connected_; | 41 bool line_power_connected_; |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(DualRoleNotification); | 43 DISALLOW_COPY_AND_ASSIGN(DualRoleNotification); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace ash | 46 } // namespace ash |
| 47 | 47 |
| 48 #endif // ASH_COMMON_SYSTEM_CHROMEOS_POWER_DUAL_ROLE_NOTIFICATION_H_ | 48 #endif // ASH_SYSTEM_POWER_DUAL_ROLE_NOTIFICATION_H_ |
| OLD | NEW |