OLD | NEW |
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, |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 // See the License for the specific language governing permissions and | 12 // See the License for the specific language governing permissions and |
13 // limitations under the License. | 13 // limitations under the License. |
14 | 14 |
15 #include "snapshot/exception_snapshot.h" | 15 #include "snapshot/exception_snapshot.h" |
16 #include "snapshot/module_snapshot.h" | |
17 #include "snapshot/system_snapshot.h" | 16 #include "snapshot/system_snapshot.h" |
18 #include "snapshot/test/test_process_snapshot.h" | 17 #include "snapshot/test/test_process_snapshot.h" |
19 #include "snapshot/thread_snapshot.h" | |
20 | 18 |
21 namespace crashpad { | 19 namespace crashpad { |
22 namespace test { | 20 namespace test { |
23 | 21 |
24 TestProcessSnapshot::TestProcessSnapshot() | 22 TestProcessSnapshot::TestProcessSnapshot() |
25 : process_id_(0), | 23 : process_id_(0), |
26 parent_process_id_(0), | 24 parent_process_id_(0), |
27 snapshot_time_(), | 25 snapshot_time_(), |
28 process_start_time_(), | 26 process_start_time_(), |
29 process_cpu_user_time_(), | 27 process_cpu_user_time_(), |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 } | 76 } |
79 return modules; | 77 return modules; |
80 } | 78 } |
81 | 79 |
82 const ExceptionSnapshot* TestProcessSnapshot::Exception() const { | 80 const ExceptionSnapshot* TestProcessSnapshot::Exception() const { |
83 return exception_.get(); | 81 return exception_.get(); |
84 } | 82 } |
85 | 83 |
86 } // namespace test | 84 } // namespace test |
87 } // namespace crashpad | 85 } // namespace crashpad |
OLD | NEW |