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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 void ProcessStartTime(timeval* start_time) const override; | 62 void ProcessStartTime(timeval* start_time) const override; |
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 MemorySnapshot*> ExtraMemory() const override; | 73 std::vector<const MemorySnapshot*> ExtraMemory() const override; |
73 | 74 |
74 private: | 75 private: |
75 // Initializes data carried in a MinidumpCrashpadInfo stream on behalf of | 76 // Initializes data carried in a MinidumpCrashpadInfo stream on behalf of |
76 // Initialize(). | 77 // Initialize(). |
77 bool InitializeCrashpadInfo(); | 78 bool InitializeCrashpadInfo(); |
78 | 79 |
79 // Initializes data carried in a MINIDUMP_MODULE_LIST stream on behalf of | 80 // Initializes data carried in a MINIDUMP_MODULE_LIST stream on behalf of |
80 // Initialize(). | 81 // Initialize(). |
81 bool InitializeModules(); | 82 bool InitializeModules(); |
(...skipping 13 matching lines...) Expand all Loading... |
95 std::map<std::string, std::string> annotations_simple_map_; | 96 std::map<std::string, std::string> annotations_simple_map_; |
96 FileReaderInterface* file_reader_; // weak | 97 FileReaderInterface* file_reader_; // weak |
97 InitializationStateDcheck initialized_; | 98 InitializationStateDcheck initialized_; |
98 | 99 |
99 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump); | 100 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump); |
100 }; | 101 }; |
101 | 102 |
102 } // namespace crashpad | 103 } // namespace crashpad |
103 | 104 |
104 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ | 105 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ |
OLD | NEW |