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

Unified Diff: unclean_shutdown_collector.h

Issue 3644007: Crash reporter: collect suspend and resume info from power manager (Closed) Base URL: http://git.chromium.org/git/crash-reporter.git
Patch Set: Code cleanup, comments end with period, interpretation of events Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | unclean_shutdown_collector.cc » ('j') | unclean_shutdown_collector.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: unclean_shutdown_collector.h
diff --git a/unclean_shutdown_collector.h b/unclean_shutdown_collector.h
index e7d8cef95948793b77e70bed873812a36a558ba0..bc65cfd3e2f0b3dd37151607397a054c767e0dc0 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"
#include "crash-reporter/crash_collector.h"
#include "gtest/gtest_prod.h" // for FRIEND_TEST
@@ -33,6 +34,12 @@ class UncleanShutdownCollector : public CrashCollector {
bool DeleteUncleanShutdownFile();
+ // Check and log modification time on file.
+ bool ReadModificationTime(const FilePath &file_path, base::Time *mod_time);
tfarina 2010/11/19 15:35:43 the & should be with the type.
kmixter1 2010/11/19 20:02:02 Please don't fix. This project does not yet follo
+
+ // Analyze the powerd tracing files.
+ bool CheckPowerdFiles();
+
const char *unclean_shutdown_file_;
tfarina 2010/11/19 15:35:43 Since you are here, please fix this too.
};
« no previous file with comments | « no previous file | unclean_shutdown_collector.cc » ('j') | unclean_shutdown_collector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698