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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 //! an appropriate message logged. | 53 //! an appropriate message logged. |
54 bool Initialize(FileReaderInterface* file_reader); | 54 bool Initialize(FileReaderInterface* file_reader); |
55 | 55 |
56 // ProcessSnapshot: | 56 // ProcessSnapshot: |
57 | 57 |
58 pid_t ProcessID() const override; | 58 pid_t ProcessID() const override; |
59 pid_t ParentProcessID() const override; | 59 pid_t ParentProcessID() const override; |
60 void SnapshotTime(timeval* snapshot_time) const override; | 60 void SnapshotTime(timeval* snapshot_time) const override; |
61 void ProcessStartTime(timeval* start_time) const override; | 61 void ProcessStartTime(timeval* start_time) const override; |
62 void ProcessCPUTimes(timeval* user_time, timeval* system_time) const override; | 62 void ProcessCPUTimes(timeval* user_time, timeval* system_time) const override; |
| 63 void ReportID(UUID* report_id) const override; |
63 void ClientID(UUID* client_id) const override; | 64 void ClientID(UUID* client_id) const override; |
64 const std::map<std::string, std::string>& AnnotationsSimpleMap() | 65 const std::map<std::string, std::string>& AnnotationsSimpleMap() |
65 const override; | 66 const override; |
66 const SystemSnapshot* System() const override; | 67 const SystemSnapshot* System() const override; |
67 std::vector<const ThreadSnapshot*> Threads() const override; | 68 std::vector<const ThreadSnapshot*> Threads() const override; |
68 std::vector<const ModuleSnapshot*> Modules() const override; | 69 std::vector<const ModuleSnapshot*> Modules() const override; |
69 const ExceptionSnapshot* Exception() const override; | 70 const ExceptionSnapshot* Exception() const override; |
70 | 71 |
71 private: | 72 private: |
72 // Initializes data carried in a MinidumpCrashpadInfo stream on behalf of | 73 // Initializes data carried in a MinidumpCrashpadInfo stream on behalf of |
(...skipping 19 matching lines...) Expand all Loading... |
92 std::map<std::string, std::string> annotations_simple_map_; | 93 std::map<std::string, std::string> annotations_simple_map_; |
93 FileReaderInterface* file_reader_; // weak | 94 FileReaderInterface* file_reader_; // weak |
94 InitializationStateDcheck initialized_; | 95 InitializationStateDcheck initialized_; |
95 | 96 |
96 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump); | 97 DISALLOW_COPY_AND_ASSIGN(ProcessSnapshotMinidump); |
97 }; | 98 }; |
98 | 99 |
99 } // namespace crashpad | 100 } // namespace crashpad |
100 | 101 |
101 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ | 102 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_PROCESS_SNAPSHOT_MINIDUMP_H_ |
OLD | NEW |