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 |