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

Unified Diff: chrome/browser/chrome_plugin_service_filter.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: chrome/browser/chrome_plugin_service_filter.cc
diff --git a/chrome/browser/chrome_plugin_service_filter.cc b/chrome/browser/chrome_plugin_service_filter.cc
index 67fb0f19c94b56f7de49da58dd4685162683664f..4dc3eabf0b67655955c9b688b1908c620a2325f4 100644
--- a/chrome/browser/chrome_plugin_service_filter.cc
+++ b/chrome/browser/chrome_plugin_service_filter.cc
@@ -150,6 +150,7 @@ void ChromePluginServiceFilter::Observe(
break;
}
case chrome::NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED: {
+#if defined(ENABLE_PLUGINS)
jam 2012/12/19 01:55:15 it seems that this whole file is unnecessary if EN
nilesh 2012/12/19 21:07:44 Done. Had to ifdef calls to ChromePluginServiceFil
Profile* profile = content::Source<Profile>(source).ptr();
PluginService::GetInstance()->PurgePluginListCache(profile, false);
if (profile && profile->HasOffTheRecordProfile()) {
@@ -157,6 +158,7 @@ void ChromePluginServiceFilter::Observe(
profile->GetOffTheRecordProfile(), false);
}
break;
+#endif
}
default: {
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698