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

Unified Diff: content/browser/plugin_process_host.cc

Issue 11615002: Exclude PluginService for builds with enable_plugins==0 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove debug logging Created 8 years 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: content/browser/plugin_process_host.cc
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc
index f95577dda577bb020754d4b0022ff6c1732bb477..d1aa98f3740bbfe3a66527241e25169420f7d414 100644
--- a/content/browser/plugin_process_host.cc
+++ b/content/browser/plugin_process_host.cc
@@ -310,7 +310,9 @@ bool PluginProcessHost::CanShutdown() {
}
void PluginProcessHost::OnProcessCrashed(int exit_code) {
+#if defined(ENABLE_PLUGINS)
jam 2012/12/19 01:55:15 why is this file included if no plugins?
nilesh 2012/12/19 21:07:44 Removed.
PluginServiceImpl::GetInstance()->RegisterPluginCrash(info_.path);
+#endif
}
void PluginProcessHost::CancelRequests() {

Powered by Google App Engine
This is Rietveld 408576698