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

Side by Side Diff: webkit/plugins/ppapi/plugin_delegate.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_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 const ::ppapi::PepperFilePath& path, 467 const ::ppapi::PepperFilePath& path,
468 bool recursive) = 0; 468 bool recursive) = 0;
469 virtual base::PlatformFileError CreateDir( 469 virtual base::PlatformFileError CreateDir(
470 const ::ppapi::PepperFilePath& path) = 0; 470 const ::ppapi::PepperFilePath& path) = 0;
471 virtual base::PlatformFileError QueryFile( 471 virtual base::PlatformFileError QueryFile(
472 const ::ppapi::PepperFilePath& path, 472 const ::ppapi::PepperFilePath& path,
473 base::PlatformFileInfo* info) = 0; 473 base::PlatformFileInfo* info) = 0;
474 virtual base::PlatformFileError GetDirContents( 474 virtual base::PlatformFileError GetDirContents(
475 const ::ppapi::PepperFilePath& path, 475 const ::ppapi::PepperFilePath& path,
476 ::ppapi::DirContents* contents) = 0; 476 ::ppapi::DirContents* contents) = 0;
477 virtual base::PlatformFileError CreateTemporaryFile(
478 const ::ppapi::PepperFilePath& dir_path,
479 base::PlatformFile* file,
480 std::string* file_name) = 0;
477 481
478 // Synchronously returns the platform file path for a filesystem URL. 482 // Synchronously returns the platform file path for a filesystem URL.
479 virtual void SyncGetFileSystemPlatformPath(const GURL& url, 483 virtual void SyncGetFileSystemPlatformPath(const GURL& url,
480 FilePath* platform_path) = 0; 484 FilePath* platform_path) = 0;
481 485
482 // Returns a MessageLoopProxy instance associated with the message loop 486 // Returns a MessageLoopProxy instance associated with the message loop
483 // of the file thread in this renderer. 487 // of the file thread in this renderer.
484 virtual scoped_refptr<base::MessageLoopProxy> 488 virtual scoped_refptr<base::MessageLoopProxy>
485 GetFileThreadMessageLoopProxy() = 0; 489 GetFileThreadMessageLoopProxy() = 0;
486 490
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; 650 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
647 651
648 // Returns a Device ID 652 // Returns a Device ID
649 virtual std::string GetDeviceID() = 0; 653 virtual std::string GetDeviceID() = 0;
650 }; 654 };
651 655
652 } // namespace ppapi 656 } // namespace ppapi
653 } // namespace webkit 657 } // namespace webkit
654 658
655 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 659 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698