summaryrefslogtreecommitdiffstats
path: root/chrome/app/breakpad_win.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-30 01:39:02 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-30 01:39:02 +0000
commit1e4c4560f20ac0802cfa71a25dd040eae801c8da (patch)
tree1aa59f089163cff17e0316e72bbcef1dca85e9e8 /chrome/app/breakpad_win.h
parent036e91c7ed0104d4d147a2937814694d03e4a74b (diff)
downloadchromium_src-1e4c4560f20ac0802cfa71a25dd040eae801c8da.zip
chromium_src-1e4c4560f20ac0802cfa71a25dd040eae801c8da.tar.gz
chromium_src-1e4c4560f20ac0802cfa71a25dd040eae801c8da.tar.bz2
Report active extensions in crash reports. This only implements Windows right now. Mac and linux will be separate CLs.
"Active" is overloaded to mean different things depending on the process type: - browser: all enabled extensions - renderer: unique set of extensions from all user scripts - extension: extensions running in the process BUG=27169 Review URL: http://codereview.chromium.org/437078 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33255 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_win.h')
-rw-r--r--chrome/app/breakpad_win.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/app/breakpad_win.h b/chrome/app/breakpad_win.h
index c7cd9ec..3a13149 100644
--- a/chrome/app/breakpad_win.h
+++ b/chrome/app/breakpad_win.h
@@ -8,6 +8,12 @@
#include <windows.h>
#include <string>
+// The maximum number of 64-char URL chunks we will report.
+static const int kMaxUrlChunks = 8;
+
+// The maximum number of active extensions we will report.
+static const int kMaxReportedActiveExtensions = 10;
+
// Calls InitCrashReporterThread in it's own thread for the browser process
// or directly for the plugin and renderer process.
void InitCrashReporterWithDllPath(const std::wstring& dll_path);