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

Side by Side Diff: third_party/crashpad/crashpad/snapshot/win/thread_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 30 matching lines...) Expand all
41 public: 41 public:
42 ThreadSnapshotWin(); 42 ThreadSnapshotWin();
43 ~ThreadSnapshotWin() override; 43 ~ThreadSnapshotWin() override;
44 44
45 //! \brief Initializes the object. 45 //! \brief Initializes the object.
46 //! 46 //!
47 //! \param[in] process_reader A ProcessReaderWin for the process containing 47 //! \param[in] process_reader A ProcessReaderWin for the process containing
48 //! the thread. 48 //! the thread.
49 //! \param[in] process_reader_thread The thread within the ProcessReaderWin 49 //! \param[in] process_reader_thread The thread within the ProcessReaderWin
50 //! for which the snapshot should be created. 50 //! for which the snapshot should be created.
51 //! \param[in] gather_indirectly_referenced_memory_bytes_remaining. If 51 //! \param[in,out] gather_indirectly_referenced_memory_bytes_remaining If
52 //! non-null, add extra memory regions to the snapshot pointed to by the 52 //! non-null, add extra memory regions to the snapshot pointed to by the
53 //! thread's stack. The size of the regions added is subtracted from the 53 //! thread's stack. The size of the regions added is subtracted from the
54 //! count, and when it's `0`, no more regions will be added. 54 //! count, and when it's `0`, no more regions will be added.
55 //! 55 //!
56 //! \return `true` if the snapshot could be created, `false` otherwise with 56 //! \return `true` if the snapshot could be created, `false` otherwise with
57 //! an appropriate message logged. 57 //! an appropriate message logged.
58 bool Initialize( 58 bool Initialize(
59 ProcessReaderWin* process_reader, 59 ProcessReaderWin* process_reader,
60 const ProcessReaderWin::Thread& process_reader_thread, 60 const ProcessReaderWin::Thread& process_reader_thread,
61 uint32_t* gather_indirectly_referenced_memory_bytes_remaining); 61 uint32_t* gather_indirectly_referenced_memory_bytes_remaining);
(...skipping 22 matching lines...) Expand all
84 InitializationStateDcheck initialized_; 84 InitializationStateDcheck initialized_;
85 PointerVector<MemorySnapshotWin> pointed_to_memory_; 85 PointerVector<MemorySnapshotWin> pointed_to_memory_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(ThreadSnapshotWin); 87 DISALLOW_COPY_AND_ASSIGN(ThreadSnapshotWin);
88 }; 88 };
89 89
90 } // namespace internal 90 } // namespace internal
91 } // namespace crashpad 91 } // namespace crashpad
92 92
93 #endif // CRASHPAD_SNAPSHOT_WIN_THREAD_SNAPSHOT_WIN_H_ 93 #endif // CRASHPAD_SNAPSHOT_WIN_THREAD_SNAPSHOT_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698