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

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: Last Few Nits 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/child_process_logging_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_process_logging.h
===================================================================
--- chrome/common/child_process_logging.h (revision 130670)
+++ chrome/common/child_process_logging.h (working copy)
@@ -8,9 +8,11 @@
#include <set>
#include <string>
+#include <vector>
#include "base/basictypes.h"
#include "base/mac/crash_logging.h"
+#include "base/string16.h"
#include "googleurl/src/gurl.h"
class CommandLine;
@@ -24,6 +26,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 prn-info-* records.
static const size_t kMaxReportedPrinterRecords = 4;
@@ -98,6 +105,9 @@
// values in |command_line|.
void SetCommandLine(const CommandLine* command_line);
+// Initialize the list of experiment info to send along with crash reports.
+void SetExperimentList(const std::vector<string16>& state);
+
#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);
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/child_process_logging_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698