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

Side by Side Diff: snapshot/mac/process_snapshot_mac.h

Issue 1364053002: win: Save contents of PEB to minidump (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@save-teb
Patch Set: fixes 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
OLDNEW
1 // Copyright 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 void ProcessStartTime(timeval* start_time) const override; 119 void ProcessStartTime(timeval* start_time) const override;
120 void ProcessCPUTimes(timeval* user_time, timeval* system_time) const override; 120 void ProcessCPUTimes(timeval* user_time, timeval* system_time) const override;
121 void ReportID(UUID* report_id) const override; 121 void ReportID(UUID* report_id) const override;
122 void ClientID(UUID* client_id) const override; 122 void ClientID(UUID* client_id) const override;
123 const std::map<std::string, std::string>& AnnotationsSimpleMap() 123 const std::map<std::string, std::string>& AnnotationsSimpleMap()
124 const override; 124 const override;
125 const SystemSnapshot* System() const override; 125 const SystemSnapshot* System() const override;
126 std::vector<const ThreadSnapshot*> Threads() const override; 126 std::vector<const ThreadSnapshot*> Threads() const override;
127 std::vector<const ModuleSnapshot*> Modules() const override; 127 std::vector<const ModuleSnapshot*> Modules() const override;
128 const ExceptionSnapshot* Exception() const override; 128 const ExceptionSnapshot* Exception() const override;
129 std::vector<const MemorySnapshot*> ExtraMemory() const override;
129 130
130 private: 131 private:
131 // Initializes threads_ on behalf of Initialize(). 132 // Initializes threads_ on behalf of Initialize().
132 void InitializeThreads(); 133 void InitializeThreads();
133 134
134 // Initializes modules_ on behalf of Initialize(). 135 // Initializes modules_ on behalf of Initialize().
135 void InitializeModules(); 136 void InitializeModules();
136 137
137 internal::SystemSnapshotMac system_; 138 internal::SystemSnapshotMac system_;
138 PointerVector<internal::ThreadSnapshotMac> threads_; 139 PointerVector<internal::ThreadSnapshotMac> threads_;
139 PointerVector<internal::ModuleSnapshotMac> modules_; 140 PointerVector<internal::ModuleSnapshotMac> modules_;
140 scoped_ptr<internal::ExceptionSnapshotMac> exception_; 141 scoped_ptr<internal::ExceptionSnapshotMac> exception_;
141 ProcessReader process_reader_; 142 ProcessReader process_reader_;
142 UUID report_id_; 143 UUID report_id_;
143 UUID client_id_; 144 UUID client_id_;
144 std::map<std::string, std::string> annotations_simple_map_; 145 std::map<std::string, std::string> annotations_simple_map_;
145 timeval snapshot_time_; 146 timeval snapshot_time_;
146 InitializationStateDcheck initialized_; 147 InitializationStateDcheck initialized_;
147 148
148 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMac); 149 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMac);
149 }; 150 };
150 151
151 } // namespace crashpad 152 } // namespace crashpad
152 153
153 #endif // CRASHPAD_SNAPSHOT_MAC_PROCESS_SNAPSHOT_MAC_H_ 154 #endif // CRASHPAD_SNAPSHOT_MAC_PROCESS_SNAPSHOT_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698