summaryrefslogtreecommitdiffstats
path: root/content/renderer/pepper/resource_creation_impl.h
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 20:09:10 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-20 20:09:10 +0000
commit1407fe0bba44171c9365ed31238b698bf4d8e9c3 (patch)
tree2c85afd23f0cc634734ebe85d2ada40bd192ac28 /content/renderer/pepper/resource_creation_impl.h
parent24994bc283803b411198dfd55009ad613bc0084d (diff)
downloadchromium_src-1407fe0bba44171c9365ed31238b698bf4d8e9c3.zip
chromium_src-1407fe0bba44171c9365ed31238b698bf4d8e9c3.tar.gz
chromium_src-1407fe0bba44171c9365ed31238b698bf4d8e9c3.tar.bz2
Revert 218305 "Pepper: Move FileRef to the "new" resource proxy."
This change is being reverted because it was causing some crashes for an application that I haven't been able to debug yet. > Pepper: Move FileRef to the "new" resource proxy. > > This change moves the FileRef implementation from the previous one in the "old" > resource model (ppb_file_ref_impl.cc) to the "new" resource model > (pepper_file_ref_host.cc), and from the renderer to the browser. > > As many as possible of the supporting changes were split off to other changes > to minimize the size of this change. Unfortunately, a lot of changes for > URLLoader had to be rolled into this change. > > The data structures for CreateInfo have changed, and all users of FileRef have > to be moved over, which is what causes this change to be so large. > > TBR=dmichael@chromium.org, jschuh@chromium.org, yzshen@chromium.org > BUG=225441 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216744 > > Review URL: https://chromiumcodereview.appspot.com/21966004 TBR=teravest@chromium.org Review URL: https://codereview.chromium.org/22901012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218544 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/pepper/resource_creation_impl.h')
-rw-r--r--content/renderer/pepper/resource_creation_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/renderer/pepper/resource_creation_impl.h b/content/renderer/pepper/resource_creation_impl.h
index 30ddf63..dc05890 100644
--- a/content/renderer/pepper/resource_creation_impl.h
+++ b/content/renderer/pepper/resource_creation_impl.h
@@ -35,6 +35,11 @@ class ResourceCreationImpl : public ppapi::thunk::ResourceCreationAPI {
virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE;
virtual PP_Resource CreateBuffer(PP_Instance instance,
uint32_t size) OVERRIDE;
+ virtual PP_Resource CreateFileRef(PP_Instance instance,
+ PP_Resource file_system,
+ const char* path) OVERRIDE;
+ virtual PP_Resource CreateFileRef(
+ const ppapi::PPB_FileRef_CreateInfo& serialized) OVERRIDE;
virtual PP_Resource CreateFlashDRM(PP_Instance instance) OVERRIDE;
virtual PP_Resource CreateFlashFontFile(
PP_Instance instance,