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

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

Issue 1356383002: win: Implement CRASHPAD_SIMULATE_CRASH() (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 3 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
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 CrashReportUploadThread* upload_thread, 51 CrashReportUploadThread* upload_thread,
52 const std::map<std::string, std::string>* process_annotations); 52 const std::map<std::string, std::string>* process_annotations);
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 void ExceptionHandlerServerException(
62 HANDLE process, 62 HANDLE process,
63 WinVMAddress exception_information_address) override; 63 WinVMAddress exception_information_address) override;
64 64
65 private: 65 private:
66 CrashReportDatabase* database_; // weak 66 CrashReportDatabase* database_; // weak
67 CrashReportUploadThread* upload_thread_; // weak 67 CrashReportUploadThread* upload_thread_; // weak
68 const std::map<std::string, std::string>* process_annotations_; // weak 68 const std::map<std::string, std::string>* process_annotations_; // weak
69 69
70 DISALLOW_COPY_AND_ASSIGN(CrashReportExceptionHandler); 70 DISALLOW_COPY_AND_ASSIGN(CrashReportExceptionHandler);
71 }; 71 };
72 72
73 } // namespace crashpad 73 } // namespace crashpad
74 74
75 #endif // CRASHPAD_HANDLER_WIN_CRASH_REPORT_EXCEPTION_HANDLER_H_ 75 #endif // CRASHPAD_HANDLER_WIN_CRASH_REPORT_EXCEPTION_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698