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

Unified Diff: chrome/browser/plugin_finder.cc

Issue 10544003: Infobar all unknown unsandboxed plug-ins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 6 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/browser/extensions/extension_browsertests_misc.cc ('k') | chrome/browser/plugin_finder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/plugin_finder.cc
diff --git a/chrome/browser/plugin_finder.cc b/chrome/browser/plugin_finder.cc
index ad8301fd42bcd56896b0a4e1a1654c2c55612dd5..0c03e46d11e732dab1576811e8112531ef05c5d0 100644
--- a/chrome/browser/plugin_finder.cc
+++ b/chrome/browser/plugin_finder.cc
@@ -81,7 +81,6 @@ PluginInstaller* PluginFinder::FindPlugin(const std::string& mime_type,
}
std::string language_str;
bool success = plugin->GetString("lang", &language_str);
- DCHECK(success);
if (language_str != language)
continue;
ListValue* mime_types = NULL;
@@ -123,7 +122,6 @@ PluginInstaller* PluginFinder::CreateInstaller(
DCHECK(!installers_[identifier]);
std::string url;
bool success = plugin_dict->GetString("url", &url);
- DCHECK(success);
std::string help_url;
plugin_dict->GetString("help_url", &help_url);
string16 name;
« no previous file with comments | « chrome/browser/extensions/extension_browsertests_misc.cc ('k') | chrome/browser/plugin_finder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698