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

Unified Diff: content/renderer/pepper/pepper_plugin_delegate_impl.cc

Issue 9693024: Add the PPAPI X509 Certificate interface and implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 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: content/renderer/pepper/pepper_plugin_delegate_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
index c2041e7c978e9dfb900d0742b64d8089174efe20..c295011e6990f7802c70492aceef513e873af48e 100644
--- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
@@ -1115,6 +1115,15 @@ void PepperPluginDelegateImpl::RemoveNetworkListObserver(
#endif
}
+bool PepperPluginDelegateImpl::X509CertificateParseDER(
+ const std::vector<char>& der,
+ ppapi::PPB_X509Certificate_Fields* fields) {
+ bool succeeded = false;
+ render_view_->Send(
+ new PpapiHostMsg_PPBX509Certificate_ParseDER(der, &succeeded, fields));
+ return succeeded;
+}
+
int32_t PepperPluginDelegateImpl::ShowContextMenu(
webkit::ppapi::PluginInstance* instance,
webkit::ppapi::PPB_Flash_Menu_Impl* menu,

Powered by Google App Engine
This is Rietveld 408576698