| Index: chrome/app/breakpad_win.h
|
| ===================================================================
|
| --- chrome/app/breakpad_win.h (revision 130670)
|
| +++ chrome/app/breakpad_win.h (working copy)
|
| @@ -8,7 +8,27 @@
|
|
|
| #include <windows.h>
|
| #include <string>
|
| +#include <vector>
|
|
|
| +namespace google_breakpad {
|
| +
|
| +struct CustomInfoEntry;
|
| +}
|
| +
|
| +namespace breakpad_win {
|
| +
|
| +// A pointer to the custom entries that we send in the event of a crash. We need
|
| +// this pointer, along with the offsets into it below (and some private ones),
|
| +// so that we can keep the data updated as the state of the browser changes.
|
| +extern std::vector<google_breakpad::CustomInfoEntry>* g_custom_entries;
|
| +
|
| +// These two are here because they are needed by breakpad_field_trial_win as
|
| +// well as breakpad_unittest_win.
|
| +extern size_t g_num_of_experiments_offset;
|
| +extern size_t g_experiment_chunks_offset;
|
| +
|
| +} // namespace breakpad_win
|
| +
|
| // The maximum number of 64-char URL chunks we will report.
|
| static const int kMaxUrlChunks = 8;
|
|
|
| @@ -22,4 +42,11 @@
|
| // a dialog asking for permission to continue execution or to exit now.
|
| bool ShowRestartDialogIfCrashed(bool* exit_now);
|
|
|
| +namespace testing {
|
| +
|
| +// Testing entry point for calling a function from the unnamed namespace.
|
| +void InitCustomInfoEntries();
|
| +
|
| +}
|
| +
|
| #endif // CHROME_APP_BREAKPAD_WIN_H_
|
|
|