Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: handler/win/crash_report_exception_handler.h

Issue 1392093003: win: Capture some CRITICAL_SECTION debugging data (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « client/crashpad_client_win.cc ('k') | handler/win/crash_report_exception_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Crashpad Authors. All rights reserved. 1 // Copyright 2015 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 ~CrashReportExceptionHandler() override; 54 ~CrashReportExceptionHandler() override;
55 55
56 // ExceptionHandlerServer::Delegate: 56 // ExceptionHandlerServer::Delegate:
57 57
58 //! \brief Processes an exception message by writing a crash report to this 58 //! \brief Processes an exception message by writing a crash report to this
59 //! object's CrashReportDatabase. 59 //! object's CrashReportDatabase.
60 void ExceptionHandlerServerStarted() override; 60 void ExceptionHandlerServerStarted() override;
61 unsigned int ExceptionHandlerServerException( 61 unsigned int ExceptionHandlerServerException(
62 HANDLE process, 62 HANDLE process,
63 WinVMAddress exception_information_address) override; 63 WinVMAddress exception_information_address,
64 WinVMAddress debug_critical_section_address) override;
64 65
65 private: 66 private:
66 CrashReportDatabase* database_; // weak 67 CrashReportDatabase* database_; // weak
67 CrashReportUploadThread* upload_thread_; // weak 68 CrashReportUploadThread* upload_thread_; // weak
68 const std::map<std::string, std::string>* process_annotations_; // weak 69 const std::map<std::string, std::string>* process_annotations_; // weak
69 70
70 DISALLOW_COPY_AND_ASSIGN(CrashReportExceptionHandler); 71 DISALLOW_COPY_AND_ASSIGN(CrashReportExceptionHandler);
71 }; 72 };
72 73
73 } // namespace crashpad 74 } // namespace crashpad
74 75
75 #endif // CRASHPAD_HANDLER_WIN_CRASH_REPORT_EXCEPTION_HANDLER_H_ 76 #endif // CRASHPAD_HANDLER_WIN_CRASH_REPORT_EXCEPTION_HANDLER_H_
OLDNEW
« no previous file with comments | « client/crashpad_client_win.cc ('k') | handler/win/crash_report_exception_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698