Index: snapshot/test/test_module_snapshot.h |
diff --git a/snapshot/test/test_module_snapshot.h b/snapshot/test/test_module_snapshot.h |
index 7aa5df3fd55d0b38f4d1fe192af021198b98e288..3a59645e48a697489b6793a063c3ceea7a7ce60c 100644 |
--- a/snapshot/test/test_module_snapshot.h |
+++ b/snapshot/test/test_module_snapshot.h |
@@ -60,7 +60,10 @@ class TestModuleSnapshot final : public ModuleSnapshot { |
source_version_[3] = source_version_3; |
} |
void SetModuleType(ModuleType module_type) { module_type_ = module_type; } |
- void SetUUID(const crashpad::UUID& uuid) { uuid_ = uuid; } |
+ void SetUUIDAndAge(const crashpad::UUID& uuid, uint32_t age) { |
+ uuid_ = uuid; |
+ age_ = age; |
+ } |
void SetAnnotationsVector( |
const std::vector<std::string>& annotations_vector) { |
annotations_vector_ = annotations_vector; |
@@ -85,7 +88,7 @@ class TestModuleSnapshot final : public ModuleSnapshot { |
uint16_t* version_2, |
uint16_t* version_3) const override; |
ModuleType GetModuleType() const override; |
- void UUID(crashpad::UUID* uuid) const override; |
+ void UUIDAndAge(crashpad::UUID* uuid, uint32_t* age) const override; |
std::vector<std::string> AnnotationsVector() const override; |
std::map<std::string, std::string> AnnotationsSimpleMap() const override; |
@@ -97,6 +100,7 @@ class TestModuleSnapshot final : public ModuleSnapshot { |
uint16_t file_version_[4]; |
uint16_t source_version_[4]; |
ModuleType module_type_; |
+ uint32_t age_; |
crashpad::UUID uuid_; |
std::vector<std::string> annotations_vector_; |
std::map<std::string, std::string> annotations_simple_map_; |