Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1150)

Side by Side Diff: ash/system/power/dual_role_notification.h

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/system/power/battery_notification.cc ('k') | ash/system/power/dual_role_notification.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ash/system/power/battery_notification.cc ('k') | ash/system/power/dual_role_notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698