diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-02 03:22:35 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-02 03:22:35 +0000 |
commit | aab98a5a0e9dc69bfea24ad796807e67abe53cea (patch) | |
tree | 14987b854a05368ffd9cb6b03a4adb57577db366 /chrome/app/breakpad_win.h | |
parent | 647eb03cbf4fa882d17abc4ee24abc3478f4dc52 (diff) | |
download | chromium_src-aab98a5a0e9dc69bfea24ad796807e67abe53cea.zip chromium_src-aab98a5a0e9dc69bfea24ad796807e67abe53cea.tar.gz chromium_src-aab98a5a0e9dc69bfea24ad796807e67abe53cea.tar.bz2 |
Ok, here is a different approach at this change.
Instead of storing pointers into a vector, store offsets. That
way, if the vector resizes, we should still be OK.
Also, add a DCHECK that we only enter this method once, which
is my current assumption.
Review URL: http://codereview.chromium.org/457028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/breakpad_win.h')
-rw-r--r-- | chrome/app/breakpad_win.h | 6 |
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); |