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

Side by Side Diff: ppapi/proxy/ppb_flash_proxy.h

Issue 10534045: Add CreateTemporaryFile to PPB_Flash_File_ModuleLocal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_PROXY_PPB_FLASH_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_FLASH_PROXY_H_
6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_ 6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual int32_t DeleteFileOrDir(PP_Instance instance, 98 virtual int32_t DeleteFileOrDir(PP_Instance instance,
99 const char* path, 99 const char* path,
100 PP_Bool recursive) OVERRIDE; 100 PP_Bool recursive) OVERRIDE;
101 virtual int32_t CreateDir(PP_Instance instance, const char* path) OVERRIDE; 101 virtual int32_t CreateDir(PP_Instance instance, const char* path) OVERRIDE;
102 virtual int32_t QueryFile(PP_Instance instance, 102 virtual int32_t QueryFile(PP_Instance instance,
103 const char* path, 103 const char* path,
104 PP_FileInfo* info) OVERRIDE; 104 PP_FileInfo* info) OVERRIDE;
105 virtual int32_t GetDirContents(PP_Instance instance, 105 virtual int32_t GetDirContents(PP_Instance instance,
106 const char* path, 106 const char* path,
107 PP_DirContents_Dev** contents) OVERRIDE; 107 PP_DirContents_Dev** contents) OVERRIDE;
108 virtual int32_t CreateTemporaryFile(PP_Instance instance,
109 const char* dir_path,
110 PP_FileHandle* file,
111 std::string* file_name) OVERRIDE;
108 virtual int32_t OpenFileRef(PP_Instance instance, 112 virtual int32_t OpenFileRef(PP_Instance instance,
109 PP_Resource file_ref, 113 PP_Resource file_ref,
110 int32_t mode, 114 int32_t mode,
111 PP_FileHandle* file) OVERRIDE; 115 PP_FileHandle* file) OVERRIDE;
112 virtual int32_t QueryFileRef(PP_Instance instance, 116 virtual int32_t QueryFileRef(PP_Instance instance,
113 PP_Resource file_ref, 117 PP_Resource file_ref,
114 PP_FileInfo* info) OVERRIDE; 118 PP_FileInfo* info) OVERRIDE;
115 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; 119 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE;
116 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, 120 virtual PP_Bool FlashSetFullscreen(PP_Instance instance,
117 PP_Bool fullscreen) OVERRIDE; 121 PP_Bool fullscreen) OVERRIDE;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 SerializedVarReturnValue id); 177 SerializedVarReturnValue id);
174 void OnHostMsgInvokePrinting(PP_Instance instance); 178 void OnHostMsgInvokePrinting(PP_Instance instance);
175 179
176 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); 180 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy);
177 }; 181 };
178 182
179 } // namespace proxy 183 } // namespace proxy
180 } // namespace ppapi 184 } // namespace ppapi
181 185
182 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_ 186 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698