| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |