summaryrefslogtreecommitdiffstats
path: root/ppapi/c
diff options
context:
space:
mode:
authorraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 19:32:42 +0000
committerraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 19:32:42 +0000
commit8b73c2e491f6c5d38047963d01b47bb071a96e18 (patch)
treef961ce5d2d358bbda8b41f8c6824d4af5bb2c6b2 /ppapi/c
parent1300e92e24e90d850e8b12129c1944569a9e9ce8 (diff)
downloadchromium_src-8b73c2e491f6c5d38047963d01b47bb071a96e18.zip
chromium_src-8b73c2e491f6c5d38047963d01b47bb071a96e18.tar.gz
chromium_src-8b73c2e491f6c5d38047963d01b47bb071a96e18.tar.bz2
Revert 171408
> The refactors PPB_Flash_File_ModuleLocal/FileRef to the new resource model. Calls for both these interfaces are now made directly to the browser. This removes the in-process implementation for these interfaces also (as they are flash-only). Tests are added for PPB_Flash_File_ModuleLocal. > > Review URL: https://codereview.chromium.org/11359097 TBR=raymes@chromium.org Review URL: https://codereview.chromium.org/11437038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171562 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r--ppapi/c/private/ppb_flash_file.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/ppapi/c/private/ppb_flash_file.h b/ppapi/c/private/ppb_flash_file.h
index 807fc04..758056f 100644
--- a/ppapi/c/private/ppb_flash_file.h
+++ b/ppapi/c/private/ppb_flash_file.h
@@ -32,9 +32,18 @@ struct PP_DirContents_Dev {
// Module-local file paths are '/'-separated UTF-8 strings, relative to a
// module-specific root.
struct PPB_Flash_File_ModuleLocal_3_0 {
- // Deprecated. Returns true.
+ // Does initialization necessary for proxying this interface on background
+ // threads. You must always call this function before using any other
+ // function in this interface for a given instance ID.
+ //
+ // Returns true if multithreaded access is supported. In this case you can
+ // use the rest of the functions from background threads. You may not call
+ // GetInterface or do any other PPAPI operations on background threads at
+ // this time.
bool (*CreateThreadAdapterForInstance)(PP_Instance instance);
- // Deprecated. Does nothing.
+
+ // Call when an instance is destroyed when you've previously called
+ // CreateThreadAdapterForInstance.
void (*ClearThreadAdapterForInstance)(PP_Instance instance);
// Opens a file, returning a file descriptor (posix) or a HANDLE (win32) into