summaryrefslogtreecommitdiffstats
path: root/chrome/common/child_process_logging.h
diff options
context:
space:
mode:
authorasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-29 17:54:13 +0000
committerasvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-29 17:54:13 +0000
commit38b80bbab9db5a423cace41e4e7757eb4f27806c (patch)
tree83b55813af588337a42140b19df8bd5feaa6df5a /chrome/common/child_process_logging.h
parent24664d6766ccc67c52034913f57ba168490b2571 (diff)
downloadchromium_src-38b80bbab9db5a423cace41e4e7757eb4f27806c.zip
chromium_src-38b80bbab9db5a423cace41e4e7757eb4f27806c.tar.gz
chromium_src-38b80bbab9db5a423cace41e4e7757eb4f27806c.tar.bz2
[Mac] Add field trial tuples to breakpad crash reports.
This is the Mac-side of http://codereview.chromium.org/9432033. BUG=134741 TEST=Mac crash dumps show experiment chunks. Review URL: https://chromiumcodereview.appspot.com/10661057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144929 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process_logging.h')
-rw-r--r--chrome/common/child_process_logging.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/child_process_logging.h b/chrome/common/child_process_logging.h
index cc4ecad..010df4b 100644
--- a/chrome/common/child_process_logging.h
+++ b/chrome/common/child_process_logging.h
@@ -31,6 +31,11 @@ static const int kMaxReportedActiveExtensions = 10;
// dependency.
static const int kMaxReportedExperimentChunks = 15;
+// The maximum size of an experiment chunk. This size was picked to be
+// consistent between platforms and the value was chosen from the Windows
+// limit of google_breakpad::CustomInfoEntry::kValueMaxLength.
+static const size_t kMaxExperimentChunkSize = 64;
+
// The maximum number of prn-info-* records.
static const size_t kMaxReportedPrinterRecords = 4;