Chromium Code Reviews| Index: unclean_shutdown_collector.h |
| diff --git a/unclean_shutdown_collector.h b/unclean_shutdown_collector.h |
| index e7d8cef95948793b77e70bed873812a36a558ba0..3aac8d3e55449103effe189ddcb67f1f2addfb92 100644 |
| --- a/unclean_shutdown_collector.h |
| +++ b/unclean_shutdown_collector.h |
| @@ -8,6 +8,7 @@ |
| #include <string> |
| #include "base/file_path.h" |
| +#include "base/time.h" |
|
kmixter1
2010/11/19 23:43:27
This isn't used here, please move it to the cc.
|
| #include "crash-reporter/crash_collector.h" |
| #include "gtest/gtest_prod.h" // for FRIEND_TEST |
| @@ -33,7 +34,14 @@ class UncleanShutdownCollector : public CrashCollector { |
| bool DeleteUncleanShutdownFile(); |
| + // Check for unclean shutdown due to battery running out by analyzing powerd |
| + // trace files. |
| + bool CheckForDeadBatteryUncleanShutdown(); |
| + |
| const char *unclean_shutdown_file_; |
| + const FilePath powerd_trace_path_; |
| + const FilePath powerd_suspend_file_; |
| + const FilePath powerd_low_battery_file_; |
| }; |
| #endif // _CRASH_REPORTER_UNCLEAN_SHUTDOWN_COLLECTOR_H_ |