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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.h

Issue 6767010: More filesystem cleanup: convert URL-encoded-as-FilePath to actual URL, where (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/file_callbacks.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_MOCK_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
7 7
8 #include "webkit/plugins/ppapi/plugin_delegate.h" 8 #include "webkit/plugins/ppapi/plugin_delegate.h"
9 9
10 namespace webkit { 10 namespace webkit {
(...skipping 24 matching lines...) Expand all
35 WebKit::WebFileChooserCompletion* chooser_completion); 35 WebKit::WebFileChooserCompletion* chooser_completion);
36 virtual bool AsyncOpenFile(const FilePath& path, 36 virtual bool AsyncOpenFile(const FilePath& path,
37 int flags, 37 int flags,
38 AsyncOpenFileCallback* callback); 38 AsyncOpenFileCallback* callback);
39 virtual bool OpenFileSystem( 39 virtual bool OpenFileSystem(
40 const GURL& url, 40 const GURL& url,
41 fileapi::FileSystemType type, 41 fileapi::FileSystemType type,
42 long long size, 42 long long size,
43 fileapi::FileSystemCallbackDispatcher* dispatcher); 43 fileapi::FileSystemCallbackDispatcher* dispatcher);
44 virtual bool MakeDirectory( 44 virtual bool MakeDirectory(
45 const FilePath& path, 45 const GURL& path,
46 bool recursive, 46 bool recursive,
47 fileapi::FileSystemCallbackDispatcher* dispatcher); 47 fileapi::FileSystemCallbackDispatcher* dispatcher);
48 virtual bool Query(const FilePath& path, 48 virtual bool Query(const GURL& path,
49 fileapi::FileSystemCallbackDispatcher* dispatcher); 49 fileapi::FileSystemCallbackDispatcher* dispatcher);
50 virtual bool Touch(const FilePath& path, 50 virtual bool Touch(const GURL& path,
51 const base::Time& last_access_time, 51 const base::Time& last_access_time,
52 const base::Time& last_modified_time, 52 const base::Time& last_modified_time,
53 fileapi::FileSystemCallbackDispatcher* dispatcher); 53 fileapi::FileSystemCallbackDispatcher* dispatcher);
54 virtual bool Delete(const FilePath& path, 54 virtual bool Delete(const GURL& path,
55 fileapi::FileSystemCallbackDispatcher* dispatcher); 55 fileapi::FileSystemCallbackDispatcher* dispatcher);
56 virtual bool Rename(const FilePath& file_path, 56 virtual bool Rename(const GURL& file_path,
57 const FilePath& new_file_path, 57 const GURL& new_file_path,
58 fileapi::FileSystemCallbackDispatcher* dispatcher); 58 fileapi::FileSystemCallbackDispatcher* dispatcher);
59 virtual bool ReadDirectory( 59 virtual bool ReadDirectory(
60 const FilePath& directory_path, 60 const GURL& directory_path,
61 fileapi::FileSystemCallbackDispatcher* dispatcher); 61 fileapi::FileSystemCallbackDispatcher* dispatcher);
62 virtual base::PlatformFileError OpenFile(const PepperFilePath& path, 62 virtual base::PlatformFileError OpenFile(const PepperFilePath& path,
63 int flags, 63 int flags,
64 base::PlatformFile* file); 64 base::PlatformFile* file);
65 virtual base::PlatformFileError RenameFile(const PepperFilePath& from_path, 65 virtual base::PlatformFileError RenameFile(const PepperFilePath& from_path,
66 const PepperFilePath& to_path); 66 const PepperFilePath& to_path);
67 virtual base::PlatformFileError DeleteFileOrDir(const PepperFilePath& path, 67 virtual base::PlatformFileError DeleteFileOrDir(const PepperFilePath& path,
68 bool recursive); 68 bool recursive);
69 virtual base::PlatformFileError CreateDir(const PepperFilePath& path); 69 virtual base::PlatformFileError CreateDir(const PepperFilePath& path);
70 virtual base::PlatformFileError QueryFile(const PepperFilePath& path, 70 virtual base::PlatformFileError QueryFile(const PepperFilePath& path,
(...skipping 23 matching lines...) Expand all
94 virtual void DidStopLoading(); 94 virtual void DidStopLoading();
95 virtual void SetContentRestriction(int restrictions); 95 virtual void SetContentRestriction(int restrictions);
96 virtual void HasUnsupportedFeature(); 96 virtual void HasUnsupportedFeature();
97 virtual P2PSocketDispatcher* GetP2PSocketDispatcher(); 97 virtual P2PSocketDispatcher* GetP2PSocketDispatcher();
98 }; 98 };
99 99
100 } // namespace ppapi 100 } // namespace ppapi
101 } // namespace webkit 101 } // namespace webkit
102 102
103 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 103 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/file_callbacks.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698