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

Unified Diff: chrome/browser/plugins/plugin_metadata.cc

Issue 1857263004: Always trust internal PDF viewer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase rebase Created 4 years, 8 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
Index: chrome/browser/plugins/plugin_metadata.cc
diff --git a/chrome/browser/plugins/plugin_metadata.cc b/chrome/browser/plugins/plugin_metadata.cc
index b99f3eec8d53933618cee9071019df69a25492d8..0c42ddec5b2f51348a2e8002512275214735b9a2 100644
--- a/chrome/browser/plugins/plugin_metadata.cc
+++ b/chrome/browser/plugins/plugin_metadata.cc
@@ -89,6 +89,8 @@ bool PluginMetadata::ParseSecurityStatus(
*status = SECURITY_STATUS_OUT_OF_DATE;
else if (status_str == "requires_authorization")
*status = SECURITY_STATUS_REQUIRES_AUTHORIZATION;
+ else if (status_str == "fully_trusted")
+ *status = SECURITY_STATUS_FULLY_TRUSTED;
else
return false;
« no previous file with comments | « chrome/browser/plugins/plugin_metadata.h ('k') | chrome/browser/resources/plugin_metadata/plugins_chromeos.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698