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

Unified Diff: snapshot/test/test_module_snapshot.cc

Issue 1418613013: Capture UUID age field on Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: snapshot/test/test_module_snapshot.cc
diff --git a/snapshot/test/test_module_snapshot.cc b/snapshot/test/test_module_snapshot.cc
index 497eb77a864ac3756a0ffb9e509d8cdc077db270..a4e578620087a32d002fbb7770eb5e149fae402e 100644
--- a/snapshot/test/test_module_snapshot.cc
+++ b/snapshot/test/test_module_snapshot.cc
@@ -25,6 +25,7 @@ TestModuleSnapshot::TestModuleSnapshot()
file_version_(),
source_version_(),
module_type_(kModuleTypeUnknown),
+ age_(),
Mark Mentovai 2015/10/27 20:02:27 (0)
scottmg 2015/10/27 20:06:12 Oops, done.
uuid_(),
annotations_vector_(),
annotations_simple_map_() {
@@ -73,8 +74,9 @@ ModuleSnapshot::ModuleType TestModuleSnapshot::GetModuleType() const {
return module_type_;
}
-void TestModuleSnapshot::UUID(crashpad::UUID* uuid) const {
+void TestModuleSnapshot::UUIDAndAge(crashpad::UUID* uuid, uint32_t* age) const {
*uuid = uuid_;
+ *age = age_;
}
std::vector<std::string> TestModuleSnapshot::AnnotationsVector() const {

Powered by Google App Engine
This is Rietveld 408576698