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

Unified Diff: user_collector.h

Issue 5814001: crash-reporter: Capture and send recent update_engine logs when it crashes (Closed) Base URL: http://git.chromium.org/git/crash-reporter.git@master
Patch Set: Respond to petkov review Created 10 years 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 | « crash_sender ('k') | user_collector.cc » ('j') | user_collector.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: user_collector.h
diff --git a/user_collector.h b/user_collector.h
index 109bf0c7205d9f5772557d82e981643242f74254..90bc578eec65249d5375f162f76833c91017f3a0 100644
--- a/user_collector.h
+++ b/user_collector.h
@@ -47,6 +47,11 @@ class UserCollector : public CrashCollector {
core_pattern_file_ = pattern;
}
+ // Set (override the default) core pipe limit file.
+ void set_core_pipe_limit_file(const std::string &path) {
+ core_pipe_limit_file_ = path;
+ }
+
private:
friend class UserCollectorTest;
FRIEND_TEST(UserCollectorTest, CopyOffProcFilesBadPath);
@@ -107,6 +112,7 @@ class UserCollector : public CrashCollector {
bool generate_diagnostics_;
std::string core_pattern_file_;
+ std::string core_pipe_limit_file_;
std::string our_path_;
bool initialized_;
« no previous file with comments | « crash_sender ('k') | user_collector.cc » ('j') | user_collector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698