Extract SIGPIPE ignoring code to a common place.
[chromium-blink-merge.git] / chrome / app / crash_analysis_win.h
blobd7af3462f6965006cb565f345c1b5f55473ca762
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_APP_CRASH_ANALYSIS_WIN_H_
6 #define CHROME_APP_CRASH_ANALYSIS_WIN_H_
8 #include <windows.h>
10 #include <vector>
12 struct _EXCEPTION_POINTERS;
14 class CrashAnalysis {
15 public:
16 CrashAnalysis();
17 void Analyze(_EXCEPTION_POINTERS* info);
19 private:
20 std::vector<MEMORY_BASIC_INFORMATION> memory_regions_;
21 size_t exec_pages_;
24 #endif // CHROME_APP_CRASH_ANALYSIS_WIN_H_