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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc

Issue 1083193007: Remove legacy Module Verifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync to position 330514; updated histograms.xml Created 5 years, 7 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/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc
index 6a394e3525768cc6fb7e3b2662b02ba53d20f67d..2808faff69086d14a5b41bb817326e0cf901eb3a 100644
--- a/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/environment_data_collection_win_unittest.cc
@@ -208,7 +208,8 @@ TEST(SafeBrowsingEnvironmentDataCollectionWinTest, VerifyLoadedModules) {
ASSERT_LE(1, process_report.module_state_size());
#if !defined(ADDRESS_SANITIZER)
EXPECT_EQ(1, process_report.module_state_size());
- EXPECT_EQ(1, process_report.module_state(0).modified_export_size());
+ EXPECT_EQ(1, process_report.module_state(0).modification_size());
+ EXPECT_TRUE(process_report.module_state(0).modification(0).has_export_name());
#endif
EXPECT_EQ(base::WideToUTF8(kTestDllNames[0]),
@@ -219,7 +220,7 @@ TEST(SafeBrowsingEnvironmentDataCollectionWinTest, VerifyLoadedModules) {
// See comment above about AddressSantizier.
#if !defined(ADDRESS_SANITIZER)
EXPECT_EQ(std::string(kTestExportName),
- process_report.module_state(0).modified_export(0));
+ process_report.module_state(0).modification(0).export_name());
#endif
}
#endif // _WIN64

Powered by Google App Engine
This is Rietveld 408576698