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

Unified Diff: content/public/renderer/pepper_plugin_instance.h

Issue 21966004: Pepper: Move FileRef to the "new" resource proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Another rebase Created 7 years, 3 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/content_renderer.gypi ('k') | content/public/renderer/renderer_ppapi_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/pepper_plugin_instance.h
diff --git a/content/public/renderer/pepper_plugin_instance.h b/content/public/renderer/pepper_plugin_instance.h
index 211752dfab6ddd156fdda39669d527da4cfc389f..834a55b0b5a45735a7b304d75d6f3d9849cd7cad 100644
--- a/content/public/renderer/pepper_plugin_instance.h
+++ b/content/public/renderer/pepper_plugin_instance.h
@@ -56,11 +56,6 @@ class PepperPluginInstance {
// Returns the location of this module.
virtual base::FilePath GetModulePath() = 0;
- // Returns a reference to a file with the given path.
- // The returned object will have a refcount of 0 (just like "new").
- virtual PP_Resource CreateExternalFileReference(
- const base::FilePath& external_file_path) = 0;
-
// Creates a PPB_ImageData given a Skia image.
virtual PP_Resource CreateImage(gfx::ImageSkia* source_image,
float scale) = 0;
@@ -93,6 +88,8 @@ class PepperPluginInstance {
const char* target,
bool from_user_action) = 0;
+ // Creates a pending PepperFileRefRendererHost. Returns 0 on failure.
+ virtual int MakePendingFileRefRendererHost(const base::FilePath& path) = 0;
};
} // namespace content
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/renderer/renderer_ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698