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

Unified Diff: chrome/common/child_process_logging.h

Issue 9432033: Add experiments info to crash dumps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
Index: chrome/common/child_process_logging.h
===================================================================
--- chrome/common/child_process_logging.h (revision 125856)
+++ chrome/common/child_process_logging.h (working copy)
@@ -24,6 +24,11 @@
// dependency.
static const int kMaxReportedActiveExtensions = 10;
+// The maximum number of experiment chunks we will report.
+// Also used in chrome/app, but we define it here to avoid a common->app
+// dependency.
+static const int kMaxReportedExperimentChunks = 15;
+
// The maximum number of command line switches to include in the crash
// report's metadata. Note that the mini-dump itself will also contain the
// (original) command line arguments within the PEB.
@@ -86,6 +91,13 @@
// values in |command_line|.
void SetCommandLine(const CommandLine* command_line);
+// Initialize the list of experiment info to send along with crash reports.
+void InitExperimentList();
+
+// Add a new experiment group info to send along with crash reports.
+void AddFieldTrialGroup(const std::string& field_trial_name,
+ const std::string& group_name);
+
#if defined(OS_LINUX) || defined(OS_OPENBSD) || defined(OS_MACOSX)
// Sets the product channel data to send along with crash reports to |channel|.
void SetChannel(const std::string& channel);

Powered by Google App Engine
This is Rietveld 408576698