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

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

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 years 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
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_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
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_
OLDNEW
« no previous file with comments | « ash/system/chromeos/power/battery_notification.h ('k') | ash/system/chromeos/power/power_event_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698