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

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

Issue 23647008: Revert 221284 "Pepper: Move FileRef to the "new" resource proxy." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 | « trunk/src/content/content_renderer.gypi ('k') | trunk/src/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: trunk/src/content/public/renderer/pepper_plugin_instance.h
===================================================================
--- trunk/src/content/public/renderer/pepper_plugin_instance.h (revision 221543)
+++ trunk/src/content/public/renderer/pepper_plugin_instance.h (working copy)
@@ -56,6 +56,11 @@
// 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;
@@ -88,8 +93,6 @@
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 | « trunk/src/content/content_renderer.gypi ('k') | trunk/src/content/public/renderer/renderer_ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698