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); |