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

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
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppb_flash_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 base::PlatformFile* file) = 0;
477 479
478 // Synchronously returns the platform file path for a filesystem URL. 480 // Synchronously returns the platform file path for a filesystem URL.
479 virtual void SyncGetFileSystemPlatformPath(const GURL& url, 481 virtual void SyncGetFileSystemPlatformPath(const GURL& url,
480 FilePath* platform_path) = 0; 482 FilePath* platform_path) = 0;
481 483
482 // Returns a MessageLoopProxy instance associated with the message loop 484 // Returns a MessageLoopProxy instance associated with the message loop
483 // of the file thread in this renderer. 485 // of the file thread in this renderer.
484 virtual scoped_refptr<base::MessageLoopProxy> 486 virtual scoped_refptr<base::MessageLoopProxy>
485 GetFileThreadMessageLoopProxy() = 0; 487 GetFileThreadMessageLoopProxy() = 0;
486 488
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0; 648 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
647 649
648 // Returns a Device ID 650 // Returns a Device ID
649 virtual std::string GetDeviceID() = 0; 651 virtual std::string GetDeviceID() = 0;
650 }; 652 };
651 653
652 } // namespace ppapi 654 } // namespace ppapi
653 } // namespace webkit 655 } // namespace webkit
654 656
655 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 657 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/mock_plugin_delegate.cc ('k') | webkit/plugins/ppapi/ppb_flash_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698