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

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

Issue 19744007: Create a public API around webkit::ppapi::PluginInstance and use it in chrome. After this, webkit/p… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments and undo checkdeps change Created 7 years, 5 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 | « content/renderer/pepper/pepper_audio_input_host.h ('k') | content/renderer/pepper/pepper_file_io_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_audio_input_host.cc
===================================================================
--- content/renderer/pepper/pepper_audio_input_host.cc (revision 213462)
+++ content/renderer/pepper/pepper_audio_input_host.cc (working copy)
@@ -6,7 +6,7 @@
#include "base/logging.h"
#include "build/build_config.h"
-#include "content/public/renderer/renderer_ppapi_host.h"
+#include "content/renderer/pepper/renderer_ppapi_host_impl.h"
#include "ipc/ipc_message.h"
#include "media/audio/shared_memory_util.h"
#include "ppapi/c/pp_errors.h"
@@ -17,7 +17,7 @@
#include "third_party/WebKit/public/web/WebDocument.h"
#include "third_party/WebKit/public/web/WebElement.h"
#include "third_party/WebKit/public/web/WebPluginContainer.h"
-#include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
+#include "webkit/plugins/ppapi/ppapi_plugin_instance_impl.h"
namespace content {
@@ -41,7 +41,7 @@
} // namespace
PepperAudioInputHost::PepperAudioInputHost(
- RendererPpapiHost* host,
+ RendererPpapiHostImpl* host,
PP_Instance instance,
PP_Resource resource)
: ResourceHost(host->GetPpapiHost(), instance, resource),
@@ -84,8 +84,8 @@
}
webkit::ppapi::PluginDelegate* PepperAudioInputHost::GetPluginDelegate() {
- webkit::ppapi::PluginInstance* instance =
- renderer_ppapi_host_->GetPluginInstance(pp_instance());
+ webkit::ppapi::PluginInstanceImpl* instance =
+ renderer_ppapi_host_->GetPluginInstanceImpl(pp_instance());
if (instance)
return instance->delegate();
return NULL;
@@ -105,8 +105,8 @@
if (!plugin_delegate)
return PP_ERROR_FAILED;
- webkit::ppapi::PluginInstance* instance =
- renderer_ppapi_host_->GetPluginInstance(pp_instance());
+ webkit::ppapi::PluginInstanceImpl* instance =
+ renderer_ppapi_host_->GetPluginInstanceImpl(pp_instance());
if (!instance)
return PP_ERROR_FAILED;
« no previous file with comments | « content/renderer/pepper/pepper_audio_input_host.h ('k') | content/renderer/pepper/pepper_file_io_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698