OLD | NEW |
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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 void ProcessCPUTimes(timeval* user_time, timeval* system_time) const override; | 63 void ProcessCPUTimes(timeval* user_time, timeval* system_time) const override; |
64 void ReportID(UUID* report_id) const override; | 64 void ReportID(UUID* report_id) const override; |
65 void ClientID(UUID* client_id) const override; | 65 void ClientID(UUID* client_id) const override; |
66 const std::map<std::string, std::string>& AnnotationsSimpleMap() | 66 const std::map<std::string, std::string>& AnnotationsSimpleMap() |
67 const override; | 67 const override; |
68 const SystemSnapshot* System() const override; | 68 const SystemSnapshot* System() const override; |
69 std::vector<const ThreadSnapshot*> Threads() const override; | 69 std::vector<const ThreadSnapshot*> Threads() const override; |
70 std::vector<const ModuleSnapshot*> Modules() const override; | 70 std::vector<const ModuleSnapshot*> Modules() const override; |
71 const ExceptionSnapshot* Exception() const override; | 71 const ExceptionSnapshot* Exception() const override; |
72 std::vector<const MemoryMapRegionSnapshot*> MemoryMap() const override; | 72 std::vector<const MemoryMapRegionSnapshot*> MemoryMap() const override; |
| 73 std::vector<HandleSnapshot> Handles() const override; |
73 std::vector<const MemorySnapshot*> ExtraMemory() const override; | 74 std::vector<const MemorySnapshot*> ExtraMemory() const override; |
74 | 75 |
75 private: | 76 private: |
76 // Initializes data carried in a MinidumpCrashpadInfo stream on behalf of | 77 // Initializes data carried in a MinidumpCrashpadInfo stream on behalf of |
77 // Initialize(). | 78 // Initialize(). |
78 bool InitializeCrashpadInfo(); | 79 bool InitializeCrashpadInfo(); |
79 | 80 |
80 // Initializes data carried in a MINIDUMP_MODULE_LIST stream on behalf of | 81 // Initializes data carried in a MINIDUMP_MODULE_LIST stream on behalf of |
81 // Initialize(). | 82 // Initialize(). |
82 bool InitializeModules(); | 83 bool InitializeModules(); |
(...skipping 13 matching lines...) Expand all Loading... |
96 std::map<std::string, std::string> annotations_simple_map_; | 97 std::map<std::string, std::string> annotations_simple_map_; |
97 FileReaderInterface* file_reader_; // weak | 98 FileReaderInterface* file_reader_; // weak |
98 InitializationStateDcheck initialized_; | 99 InitializationStateDcheck initialized_; |
99 | 100 |
100 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump); | 101 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump); |
101 }; | 102 }; |
102 | 103 |
103 } // namespace crashpad | 104 } // namespace crashpad |
104 | 105 |
105 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ | 106 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ |
OLD | NEW |