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

Unified Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 2613803005: [win] Enable ModuleDatabase behind a flag. (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
Index: chrome/renderer/chrome_content_renderer_client.h
diff --git a/chrome/renderer/chrome_content_renderer_client.h b/chrome/renderer/chrome_content_renderer_client.h
index 024b926594b8399bc6f48f47c31a2eb423a98783..96e564612a1643f12043afff1e115f7b7cf8eb57 100644
--- a/chrome/renderer/chrome_content_renderer_client.h
+++ b/chrome/renderer/chrome_content_renderer_client.h
@@ -30,6 +30,11 @@
#include "chrome/renderer/leak_detector/leak_detector_remote_client.h"
#endif
+#if defined(OS_WIN)
+#include "chrome/common/conflicts/module_event_sink_win.mojom.h"
+#include "chrome/common/conflicts/module_watcher_win.h"
+#endif
+
class ChromeRenderThreadObserver;
#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
class ChromePDFPrintClient;
@@ -254,6 +259,13 @@ class ChromeContentRendererClient : public content::ContentRendererClient {
std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_;
#endif
+#if defined(OS_WIN)
+ // Observes module load and unload events and notifies the ModuleDatabase in
+ // the browser process.
+ std::unique_ptr<ModuleWatcher> module_watcher_;
+ mojom::ModuleEventSinkPtr module_event_sink_;
+#endif
+
DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient);
};

Powered by Google App Engine
This is Rietveld 408576698