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

Side by Side Diff: third_party/crashpad/crashpad/snapshot/win/exception_snapshot_win.h

Issue 2555353002: Update Crashpad to 32981a3ee9d7c2769fb27afa038fe2e194cfa329 (Closed)
Patch Set: fix readme Created 4 years 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class ExceptionSnapshotWin final : public ExceptionSnapshot { 46 class ExceptionSnapshotWin final : public ExceptionSnapshot {
47 public: 47 public:
48 ExceptionSnapshotWin(); 48 ExceptionSnapshotWin();
49 ~ExceptionSnapshotWin() override; 49 ~ExceptionSnapshotWin() override;
50 50
51 //! \brief Initializes the object. 51 //! \brief Initializes the object.
52 //! 52 //!
53 //! \param[in] process_reader A ProcessReader for the process that sustained 53 //! \param[in] process_reader A ProcessReader for the process that sustained
54 //! the exception. 54 //! the exception.
55 //! \param[in] thread_id The thread ID in which the exception occurred. 55 //! \param[in] thread_id The thread ID in which the exception occurred.
56 //! \param[in] exception_pointers_address The address of an 56 //! \param[in] exception_pointers The address of an `EXCEPTION_POINTERS`
57 //! `EXCEPTION_POINTERS` record in the target process, passed through from 57 //! record in the target process, passed through from the exception
58 //! the exception handler. 58 //! handler.
59 //! 59 //!
60 //! \note If the exception was triggered by 60 //! \note If the exception was triggered by
61 //! CrashpadClient::DumpAndCrashTargetProcess(), this has the side-effect 61 //! CrashpadClient::DumpAndCrashTargetProcess(), this has the side-effect
62 //! of correcting the thread suspend counts for \a process_reader. 62 //! of correcting the thread suspend counts for \a process_reader.
63 //! 63 //!
64 //! \return `true` if the snapshot could be created, `false` otherwise with 64 //! \return `true` if the snapshot could be created, `false` otherwise with
65 //! an appropriate message logged. 65 //! an appropriate message logged.
66 bool Initialize(ProcessReaderWin* process_reader, 66 bool Initialize(ProcessReaderWin* process_reader,
67 DWORD thread_id, 67 DWORD thread_id,
68 WinVMAddress exception_pointers); 68 WinVMAddress exception_pointers);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 DWORD exception_code_; 101 DWORD exception_code_;
102 InitializationStateDcheck initialized_; 102 InitializationStateDcheck initialized_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(ExceptionSnapshotWin); 104 DISALLOW_COPY_AND_ASSIGN(ExceptionSnapshotWin);
105 }; 105 };
106 106
107 } // namespace internal 107 } // namespace internal
108 } // namespace crashpad 108 } // namespace crashpad
109 109
110 #endif // CRASHPAD_SNAPSHOT_WIN_EXCEPTION_SNAPSHOT_WIN_H_ 110 #endif // CRASHPAD_SNAPSHOT_WIN_EXCEPTION_SNAPSHOT_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698