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

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

Issue 20987009: Rename PepperPluginDelegateImpl to PepperHelperImpl after getting rid of the PluginDelegate interfa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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/ppb_broker_impl.cc ('k') | content/renderer/pepper/ppb_image_data_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/ppb_file_ref_impl.cc
===================================================================
--- content/renderer/pepper/ppb_file_ref_impl.cc (revision 214411)
+++ content/renderer/pepper/ppb_file_ref_impl.cc (working copy)
@@ -11,7 +11,7 @@
#include "content/child/fileapi/file_system_dispatcher.h"
#include "content/renderer/pepper/common.h"
#include "content/renderer/pepper/pepper_file_system_host.h"
-#include "content/renderer/pepper/pepper_plugin_delegate_impl.h"
+#include "content/renderer/pepper/pepper_helper_impl.h"
#include "content/renderer/pepper/pepper_plugin_instance_impl.h"
#include "content/renderer/pepper/plugin_module.h"
#include "content/renderer/pepper/renderer_ppapi_host_impl.h"
@@ -238,7 +238,7 @@
const std::string& path) {
PepperPluginInstanceImpl* plugin_instance =
ResourceHelper::PPInstanceToPluginInstance(instance);
- if (!plugin_instance || !plugin_instance->delegate())
+ if (!plugin_instance || !plugin_instance->helper())
return 0;
ppapi::host::ResourceHost* host = GetResourceHostInternal(
@@ -466,7 +466,7 @@
// TODO(teravest): Use the SequencedWorkerPool instead.
scoped_refptr<base::TaskRunner> task_runner =
RenderThreadImpl::current()->GetFileThreadMessageLoopProxy();
- if (!plugin_instance->delegate()->AsyncOpenFile(
+ if (!plugin_instance->helper()->AsyncOpenFile(
GetSystemPath(),
base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ,
base::Bind(&QueryCallback, task_runner, info, callback)))
« no previous file with comments | « content/renderer/pepper/ppb_broker_impl.cc ('k') | content/renderer/pepper/ppb_image_data_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698