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

Side by Side Diff: snapshot/minidump/module_snapshot_minidump.h

Issue 1418613013: Capture UUID age field on Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fixes Created 5 years, 1 month 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/mac/module_snapshot_mac.cc ('k') | snapshot/minidump/module_snapshot_minidump.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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 time_t Timestamp() const override; 65 time_t Timestamp() const override;
66 void FileVersion(uint16_t* version_0, 66 void FileVersion(uint16_t* version_0,
67 uint16_t* version_1, 67 uint16_t* version_1,
68 uint16_t* version_2, 68 uint16_t* version_2,
69 uint16_t* version_3) const override; 69 uint16_t* version_3) const override;
70 void SourceVersion(uint16_t* version_0, 70 void SourceVersion(uint16_t* version_0,
71 uint16_t* version_1, 71 uint16_t* version_1,
72 uint16_t* version_2, 72 uint16_t* version_2,
73 uint16_t* version_3) const override; 73 uint16_t* version_3) const override;
74 ModuleType GetModuleType() const override; 74 ModuleType GetModuleType() const override;
75 void UUID(crashpad::UUID* uuid) const override; 75 void UUIDAndAge(crashpad::UUID* uuid, uint32_t* age) const override;
76 std::vector<std::string> AnnotationsVector() const override; 76 std::vector<std::string> AnnotationsVector() const override;
77 std::map<std::string, std::string> AnnotationsSimpleMap() const override; 77 std::map<std::string, std::string> AnnotationsSimpleMap() const override;
78 78
79 private: 79 private:
80 // Initializes data carried in a MinidumpModuleCrashpadInfo structure on 80 // Initializes data carried in a MinidumpModuleCrashpadInfo structure on
81 // behalf of Initialize(). 81 // behalf of Initialize().
82 bool InitializeModuleCrashpadInfo(FileReaderInterface* file_reader, 82 bool InitializeModuleCrashpadInfo(FileReaderInterface* file_reader,
83 const MINIDUMP_LOCATION_DESCRIPTOR* 83 const MINIDUMP_LOCATION_DESCRIPTOR*
84 minidump_module_crashpad_info_location); 84 minidump_module_crashpad_info_location);
85 85
86 MINIDUMP_MODULE minidump_module_; 86 MINIDUMP_MODULE minidump_module_;
87 std::vector<std::string> annotations_vector_; 87 std::vector<std::string> annotations_vector_;
88 std::map<std::string, std::string> annotations_simple_map_; 88 std::map<std::string, std::string> annotations_simple_map_;
89 InitializationStateDcheck initialized_; 89 InitializationStateDcheck initialized_;
90 90
91 DISALLOW_COPY_AND_ASSIGN(ModuleSnapshotMinidump); 91 DISALLOW_COPY_AND_ASSIGN(ModuleSnapshotMinidump);
92 }; 92 };
93 93
94 } // namespace internal 94 } // namespace internal
95 } // namespace crashpad 95 } // namespace crashpad
96 96
97 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_MODULE_SNAPSHOT_MINIDUMP_H_ 97 #endif // CRASHPAD_SNAPSHOT_MINIDUMP_MODULE_SNAPSHOT_MINIDUMP_H_
OLDNEW
« no previous file with comments | « snapshot/mac/module_snapshot_mac.cc ('k') | snapshot/minidump/module_snapshot_minidump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698