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

Unified Diff: chrome/browser/plugins/plugin_prefs.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/plugins/plugin_prefs.cc
diff --git a/chrome/browser/plugins/plugin_prefs.cc b/chrome/browser/plugins/plugin_prefs.cc
index 9416d43abbb91ed1fdb65dbda92b86befb444664..80cc256c2db412a0b3e6ff13f57076224549d777 100644
--- a/chrome/browser/plugins/plugin_prefs.cc
+++ b/chrome/browser/plugins/plugin_prefs.cc
@@ -575,8 +575,10 @@ webkit::npapi::PluginList* PluginPrefs::GetPluginList() const {
void PluginPrefs::GetPreferencesDataOnFileThread() {
std::vector<webkit::WebPluginInfo> plugins;
+#if defined(ENABLE_PLUGINS)
jam 2012/12/19 01:55:15 ditto
nilesh 2012/12/19 21:07:44 Removed this file too.
webkit::npapi::PluginList* plugin_list = GetPluginList();
plugin_list->GetPluginsNoRefresh(&plugins);
+#endif
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
base::Bind(&PluginPrefs::OnUpdatePreferences, this, plugins));

Powered by Google App Engine
This is Rietveld 408576698