OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chromeos/power/power_data_collector.h" | 5 #include "chrome/browser/chromeos/power/power_data_collector.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chromeos/dbus/dbus_thread_manager.h" | 8 #include "chromeos/dbus/dbus_thread_manager.h" |
9 #include "chromeos/dbus/power_manager/power_supply_properties.pb.h" | 9 #include "chromeos/dbus/power_manager/power_supply_properties.pb.h" |
10 | 10 |
11 namespace chromeos { | 11 namespace chromeos { |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 // The global PowerDataCollector instance. | 15 // The global PowerDataCollector instance. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 PowerDataCollector::PowerSupplySample::PowerSupplySample() | 73 PowerDataCollector::PowerSupplySample::PowerSupplySample() |
74 : external_power(false), | 74 : external_power(false), |
75 battery_percent(0.0), | 75 battery_percent(0.0), |
76 battery_discharge_rate(0.0) { | 76 battery_discharge_rate(0.0) { |
77 } | 77 } |
78 | 78 |
79 PowerDataCollector::SystemResumedSample::SystemResumedSample() { | 79 PowerDataCollector::SystemResumedSample::SystemResumedSample() { |
80 } | 80 } |
81 | 81 |
82 } // namespace chromeos | 82 } // namespace chromeos |
OLD | NEW |