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

Unified Diff: webkit/plugins/ppapi/mock_plugin_delegate.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: webkit/plugins/ppapi/mock_plugin_delegate.cc
diff --git a/webkit/plugins/ppapi/mock_plugin_delegate.cc b/webkit/plugins/ppapi/mock_plugin_delegate.cc
index 44b815ec142fb22b7d0e4387c5798f24f98e1908..ddcdbaa75efbca7d85a6ea5430b0218da88b3d70 100644
--- a/webkit/plugins/ppapi/mock_plugin_delegate.cc
+++ b/webkit/plugins/ppapi/mock_plugin_delegate.cc
@@ -341,6 +341,12 @@ void MockPluginDelegate::RemoveNetworkListObserver(
webkit_glue::NetworkListObserver* observer) {
}
+bool MockPluginDelegate::X509CertificateParseDER(
+ const std::vector<char>& der,
+ ::ppapi::PPB_X509Certificate_Fields* fields) {
+ return true;
yzshen1 2012/03/22 23:32:40 I think the convention is to return failure?
raymes 2012/03/26 16:05:57 oh, whoops. Done.
+}
+
int32_t MockPluginDelegate::ShowContextMenu(
PluginInstance* instance,
webkit::ppapi::PPB_Flash_Menu_Impl* menu,

Powered by Google App Engine
This is Rietveld 408576698