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

Side by Side Diff: snapshot/win/process_snapshot_win.h

Issue 1407643004: Some plumbing for the beginning of getting handles into snapshot/minidump (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@handles-redux
Patch Set: . 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
« no previous file with comments | « snapshot/test/test_process_snapshot.cc ('k') | snapshot/win/process_snapshot_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 void ProcessCPUTimes(timeval* user_time, timeval* system_time) const override; 122 void ProcessCPUTimes(timeval* user_time, timeval* system_time) const override;
123 void ReportID(UUID* report_id) const override; 123 void ReportID(UUID* report_id) const override;
124 void ClientID(UUID* client_id) const override; 124 void ClientID(UUID* client_id) const override;
125 const std::map<std::string, std::string>& AnnotationsSimpleMap() 125 const std::map<std::string, std::string>& AnnotationsSimpleMap()
126 const override; 126 const override;
127 const SystemSnapshot* System() const override; 127 const SystemSnapshot* System() const override;
128 std::vector<const ThreadSnapshot*> Threads() const override; 128 std::vector<const ThreadSnapshot*> Threads() const override;
129 std::vector<const ModuleSnapshot*> Modules() const override; 129 std::vector<const ModuleSnapshot*> Modules() const override;
130 const ExceptionSnapshot* Exception() const override; 130 const ExceptionSnapshot* Exception() const override;
131 std::vector<const MemoryMapRegionSnapshot*> MemoryMap() const override; 131 std::vector<const MemoryMapRegionSnapshot*> MemoryMap() const override;
132 std::vector<HandleSnapshot> Handles() const override;
132 std::vector<const MemorySnapshot*> ExtraMemory() const override; 133 std::vector<const MemorySnapshot*> ExtraMemory() const override;
133 134
134 private: 135 private:
135 // Initializes threads_ on behalf of Initialize(). 136 // Initializes threads_ on behalf of Initialize().
136 void InitializeThreads(); 137 void InitializeThreads();
137 138
138 // Initializes modules_ on behalf of Initialize(). 139 // Initializes modules_ on behalf of Initialize().
139 void InitializeModules(); 140 void InitializeModules();
140 141
141 // Initializes peb_memory_ on behalf of Initialize(). 142 // Initializes peb_memory_ on behalf of Initialize().
(...skipping 30 matching lines...) Expand all
172 std::map<std::string, std::string> annotations_simple_map_; 173 std::map<std::string, std::string> annotations_simple_map_;
173 timeval snapshot_time_; 174 timeval snapshot_time_;
174 InitializationStateDcheck initialized_; 175 InitializationStateDcheck initialized_;
175 176
176 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotWin); 177 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotWin);
177 }; 178 };
178 179
179 } // namespace crashpad 180 } // namespace crashpad
180 181
181 #endif // CRASHPAD_SNAPSHOT_WIN_PROCESS_SNAPSHOT_WIN_H_ 182 #endif // CRASHPAD_SNAPSHOT_WIN_PROCESS_SNAPSHOT_WIN_H_
OLDNEW
« no previous file with comments | « snapshot/test/test_process_snapshot.cc ('k') | snapshot/win/process_snapshot_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698