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

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: fixes 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
« no previous file with comments | « snapshot/test/test_module_snapshot.h ('k') | snapshot/win/module_snapshot_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fc6a4277e3ab3eaa156fc7899300d244fb39a1bc 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_(0),
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 {
« no previous file with comments | « snapshot/test/test_module_snapshot.h ('k') | snapshot/win/module_snapshot_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698