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

Unified Diff: crash_collector.h

Issue 6559003: Modify crash-reporter to collect crash information for unofficial builds. (Closed) Base URL: http://git.chromium.org/git/crash-reporter.git@master
Patch Set: Created 9 years, 10 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 | crash_collector.cc » ('j') | crash_collector.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crash_collector.h
diff --git a/crash_collector.h b/crash_collector.h
index f3fcbe596f7461db0f29f05597ec9decd0ce923c..77afda8cf3613331c86efacc5c5cc902b52ac9f9 100644
--- a/crash_collector.h
+++ b/crash_collector.h
@@ -138,6 +138,12 @@ class CrashCollector {
const std::string &exec_name,
const std::string &payload_path);
+ // Returns true if the device is running an official build.
+ bool IsOfficialBuild();
+
+ // Returns true if the a crash test is currently running.
+ bool IsCrashTestInProgress();
+
CountCrashFunction count_crash_function_;
IsFeedbackAllowedFunction is_feedback_allowed_function_;
SystemLogging *logger_;
« no previous file with comments | « no previous file | crash_collector.cc » ('j') | crash_collector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698