summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authorpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-25 12:36:37 +0000
committerpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-25 12:36:37 +0000
commit8b08a47f878f0ed77508d6c49bf4e593ea8f2bef (patch)
tree7575f86aa79e27ce1bb9c61a272c11dde474da6a /chrome/plugin
parent0f38dc4551ef947f74259b3e7c92b984bf554c60 (diff)
downloadchromium_src-8b08a47f878f0ed77508d6c49bf4e593ea8f2bef.zip
chromium_src-8b08a47f878f0ed77508d6c49bf4e593ea8f2bef.tar.gz
chromium_src-8b08a47f878f0ed77508d6c49bf4e593ea8f2bef.tar.bz2
Implemented policy to disable plugin finder.
BUG=49597 TEST=Set the policy to true and the default plugin should not offer to install missing plugins. Review URL: http://codereview.chromium.org/6475011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76043 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/plugin_thread.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/plugin/plugin_thread.cc b/chrome/plugin/plugin_thread.cc
index 76f3a69..491feb0 100644
--- a/chrome/plugin/plugin_thread.cc
+++ b/chrome/plugin/plugin_thread.cc
@@ -204,7 +204,8 @@ bool GetPluginFinderURL(std::string* plugin_finder_url) {
plugin_thread->Send(
new PluginProcessHostMsg_GetPluginFinderUrl(plugin_finder_url));
- DCHECK(!plugin_finder_url->empty());
+ // If we get an empty string back this means the plugin finder has been
+ // disabled.
return true;
}