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

Unified Diff: utils.h

Issue 6114002: AU: Function to trigger crash reporter. (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: fixes for review Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils.h
diff --git a/utils.h b/utils.h
index 497963627149758b1e5a1db7b2bf0129f08ac635..776fc22b7b5439645da8d7c3caf82b52dcd08676 100644
--- a/utils.h
+++ b/utils.h
@@ -141,6 +141,10 @@ const char* GetGErrorMessage(const GError* error);
// Initiates a system reboot. Returns true on success, false otherwise.
bool Reboot();
+// Schedules a Main Loop callback to trigger the crash reporter to perform an
+// upload as if this process had crashed.
+void ScheduleCrashReporterUpload();
+
// Fuzzes an integer |value| randomly in the range:
// [value - range / 2, value + range - range / 2]
int FuzzInt(int value, unsigned int range);
« no previous file with comments | « no previous file | utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698