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

Side by Side Diff: webkit/plugins/ppapi/ppb_flash_impl.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 WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual int32_t DeleteFileOrDir(PP_Instance instance, 80 virtual int32_t DeleteFileOrDir(PP_Instance instance,
81 const char* path, 81 const char* path,
82 PP_Bool recursive) OVERRIDE; 82 PP_Bool recursive) OVERRIDE;
83 virtual int32_t CreateDir(PP_Instance instance, const char* path) OVERRIDE; 83 virtual int32_t CreateDir(PP_Instance instance, const char* path) OVERRIDE;
84 virtual int32_t QueryFile(PP_Instance instance, 84 virtual int32_t QueryFile(PP_Instance instance,
85 const char* path, 85 const char* path,
86 PP_FileInfo* info) OVERRIDE; 86 PP_FileInfo* info) OVERRIDE;
87 virtual int32_t GetDirContents(PP_Instance instance, 87 virtual int32_t GetDirContents(PP_Instance instance,
88 const char* path, 88 const char* path,
89 PP_DirContents_Dev** contents) OVERRIDE; 89 PP_DirContents_Dev** contents) OVERRIDE;
90 virtual int32_t CreateTemporaryFile(PP_Instance instance,
91 const char* dir_path,
92 PP_FileHandle* file,
93 std::string* file_name) OVERRIDE;
90 virtual int32_t OpenFileRef(PP_Instance instance, 94 virtual int32_t OpenFileRef(PP_Instance instance,
91 PP_Resource file_ref, 95 PP_Resource file_ref,
92 int32_t mode, 96 int32_t mode,
93 PP_FileHandle* file) OVERRIDE; 97 PP_FileHandle* file) OVERRIDE;
94 virtual int32_t QueryFileRef(PP_Instance instance, 98 virtual int32_t QueryFileRef(PP_Instance instance,
95 PP_Resource file_ref, 99 PP_Resource file_ref,
96 PP_FileInfo* info) OVERRIDE; 100 PP_FileInfo* info) OVERRIDE;
97 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; 101 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE;
98 virtual PP_Bool FlashSetFullscreen(PP_Instance instance, 102 virtual PP_Bool FlashSetFullscreen(PP_Instance instance,
99 PP_Bool fullscreen) OVERRIDE; 103 PP_Bool fullscreen) OVERRIDE;
(...skipping 14 matching lines...) Expand all
114 // This object is lazily created by InitClipboard. 118 // This object is lazily created by InitClipboard.
115 scoped_ptr<webkit_glue::ClipboardClient> clipboard_client_; 119 scoped_ptr<webkit_glue::ClipboardClient> clipboard_client_;
116 120
117 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl); 121 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Impl);
118 }; 122 };
119 123
120 } // namespace ppapi 124 } // namespace ppapi
121 } // namespace webkit 125 } // namespace webkit
122 126
123 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_ 127 #endif // WEBKIT_PLUGINS_PPAPI_PPB_FLASH_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698