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

Unified Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 2613803005: [win] Enable ModuleDatabase behind a flag. (Closed)
Patch Set: Rebase. 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/chrome_features.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8d584069b63e490e6ed4ea94ddb0df922d275317..4aae7bc124eb1b2f27162d8a2f4ef4039bc2c7b6 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;
@@ -258,6 +263,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);
};
« no previous file with comments | « chrome/common/chrome_features.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698