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

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

Issue 11366038: Rewrite PPB_AudioInput_Dev to use the new-style host/resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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/mock_renderer_ppapi_host.cc
diff --git a/content/renderer/pepper/mock_renderer_ppapi_host.cc b/content/renderer/pepper/mock_renderer_ppapi_host.cc
index bf7d2691640a09bb4a7c20253fb2fb67a737314c..1103b20bca27a34535dbb16158694786bbf9aee3 100644
--- a/content/renderer/pepper/mock_renderer_ppapi_host.cc
+++ b/content/renderer/pepper/mock_renderer_ppapi_host.cc
@@ -27,6 +27,12 @@ bool MockRendererPpapiHost::IsValidInstance(PP_Instance instance) const {
return instance == pp_instance_;
}
+webkit::ppapi::PluginInstance* MockRendererPpapiHost::GetPluginInstance(
+ PP_Instance instance) const {
+ NOTIMPLEMENTED();
+ return NULL;
+}
+
RenderView* MockRendererPpapiHost::GetRenderViewForInstance(
PP_Instance instance) const {
if (instance == pp_instance_)
@@ -44,4 +50,11 @@ bool MockRendererPpapiHost::HasUserGesture(PP_Instance instance) const {
return has_user_gesture_;
}
+IPC::PlatformFileForTransit MockRendererPpapiHost::ShareHandleWithRemote(
+ base::PlatformFile handle,
+ bool should_close_source) {
+ NOTIMPLEMENTED();
+ return IPC::InvalidPlatformFileForTransit();
+}
+
} // namespace content
« no previous file with comments | « content/renderer/pepper/mock_renderer_ppapi_host.h ('k') | content/renderer/pepper/pepper_audio_input_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698