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

Unified Diff: chrome/browser/install_verification/win/module_list.h

Issue 1902563004: Add module name to module_list to aid debugging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: chrome/browser/install_verification/win/module_list.h
diff --git a/chrome/browser/install_verification/win/module_list.h b/chrome/browser/install_verification/win/module_list.h
index 3497abef7d99fffd3b0bf1c263c161dd16aae391..c7403baa5eeeef7c987f1841e72ff7db401443a8 100644
--- a/chrome/browser/install_verification/win/module_list.h
+++ b/chrome/browser/install_verification/win/module_list.h
@@ -9,6 +9,7 @@
#include <Windows.h>
#include <set>
+#include <tuple>
#include <vector>
#include "base/macros.h"
@@ -37,13 +38,13 @@ class ModuleList {
}
HMODULE operator[](size_t index) const {
- return modules_[index];
+ return std::get<HMODULE>(modules_[index]);
}
private:
ModuleList();
- std::vector<HMODULE> modules_;
+ std::vector<std::tuple<HMODULE, std::wstring>> modules_;
DISALLOW_COPY_AND_ASSIGN(ModuleList);
};

Powered by Google App Engine
This is Rietveld 408576698