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

Unified Diff: chrome/common/conflicts/module_watcher_win_unittest.cc

Issue 2634073002: Revert of [win] Create ModuleDatabase and ModuleEventSinkImpl. (Closed)
Patch Set: Created 3 years, 11 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 | « chrome/common/conflicts/module_watcher_win.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/conflicts/module_watcher_win_unittest.cc
diff --git a/chrome/common/conflicts/module_watcher_win_unittest.cc b/chrome/common/conflicts/module_watcher_win_unittest.cc
index dd6988746db4da685be5a165063f2456486956ad..02bea081bc52566ce5d3c13bc03673e3b2e5e5fc 100644
--- a/chrome/common/conflicts/module_watcher_win_unittest.cc
+++ b/chrome/common/conflicts/module_watcher_win_unittest.cc
@@ -10,7 +10,7 @@
#include "testing/gtest/include/gtest/gtest.h"
class ModuleWatcherTest : public testing::Test {
- protected:
+ public:
ModuleWatcherTest()
: module_(nullptr),
module_event_count_(0),
@@ -18,7 +18,7 @@
module_loaded_event_count_(0),
module_unloaded_event_count_(0) {}
- void OnModuleEvent(const ModuleWatcher::ModuleEvent& event) {
+ void OnModuleEvent(const mojom::ModuleEvent& event) {
++module_event_count_;
switch (event.event_type) {
case mojom::ModuleEventType::MODULE_ALREADY_LOADED:
@@ -63,6 +63,7 @@
// Holds a handle to a loaded module.
HMODULE module_;
+
// Total number of module events seen.
int module_event_count_;
// Total number of MODULE_ALREADY_LOADED events seen.
« no previous file with comments | « chrome/common/conflicts/module_watcher_win.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698