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

Unified Diff: chrome/browser/win/enumerate_modules_model.h

Issue 2653333002: [win] Create utilities for helping to populate ModuleDatabase. (Closed)
Patch Set: Fix include order. Created 3 years, 10 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/win/enumerate_modules_model.h
diff --git a/chrome/browser/win/enumerate_modules_model.h b/chrome/browser/win/enumerate_modules_model.h
index 6a1265b8faff4a7bd4ad8f056828c5fb3387cc7c..76ce0227904495040d4d729af10fdd2417c4a148 100644
--- a/chrome/browser/win/enumerate_modules_model.h
+++ b/chrome/browser/win/enumerate_modules_model.h
@@ -15,6 +15,7 @@
#include "base/observer_list.h"
#include "base/strings/string16.h"
#include "base/timer/timer.h"
+#include "chrome/browser/conflicts/module_info_util_win.h"
#include "content/public/browser/browser_thread.h"
#include "url/gurl.h"
@@ -73,25 +74,6 @@ class ModuleEnumerator {
XP = 1 << 0,
};
- // The type of certificate found for the module.
- enum CertificateType {
- NO_CERTIFICATE,
- CERTIFICATE_IN_FILE,
- CERTIFICATE_IN_CATALOG,
- };
-
- // Information about the certificate of a file.
- struct CertificateInfo {
- CertificateInfo();
-
- // The type of signature encountered.
- CertificateType type;
- // Path to the file containing the certificate. Empty if NO_CERTIFICATE.
- base::FilePath path;
- // The "Subject" name of the certificate.
- base::string16 subject;
- };
-
// The structure we populate when enumerating modules.
struct Module {
Module();
@@ -126,7 +108,7 @@ class ModuleEnumerator {
// The duplicate count within each category of modules.
int duplicate_count;
// The certificate info for the module.
- CertificateInfo cert_info;
+ ModuleDatabase::CertificateInfo cert_info;
};
// A vector typedef of all modules enumerated.
« no previous file with comments | « chrome/browser/conflicts/module_info_util_win_unittest.cc ('k') | chrome/browser/win/enumerate_modules_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698