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

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

Issue 14796018: Cleanup: Deprecate FileSystemCallbackDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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) 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_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 struct PP_NetAddress_Private; 10 struct PP_NetAddress_Private;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual bool AsyncOpenFileSystemURL( 70 virtual bool AsyncOpenFileSystemURL(
71 const GURL& path, 71 const GURL& path,
72 int flags, 72 int flags,
73 const AsyncOpenFileSystemURLCallback& callback); 73 const AsyncOpenFileSystemURLCallback& callback);
74 virtual bool IsFileSystemOpened(PP_Instance instance, 74 virtual bool IsFileSystemOpened(PP_Instance instance,
75 PP_Resource resource) const; 75 PP_Resource resource) const;
76 virtual PP_FileSystemType GetFileSystemType(PP_Instance instance, 76 virtual PP_FileSystemType GetFileSystemType(PP_Instance instance,
77 PP_Resource resource) const; 77 PP_Resource resource) const;
78 virtual GURL GetFileSystemRootUrl(PP_Instance instance, 78 virtual GURL GetFileSystemRootUrl(PP_Instance instance,
79 PP_Resource resource) const; 79 PP_Resource resource) const;
80 virtual bool OpenFileSystem(
81 const GURL& origin_url,
82 fileapi::FileSystemType type,
83 long long size,
84 fileapi::FileSystemCallbackDispatcher* dispatcher);
85 virtual bool MakeDirectory( 80 virtual bool MakeDirectory(
86 const GURL& path, 81 const GURL& path,
87 bool recursive, 82 bool recursive,
88 fileapi::FileSystemCallbackDispatcher* dispatcher); 83 const StatusCallback& callback);
89 virtual bool Query(const GURL& path, 84 virtual bool Query(const GURL& path,
90 fileapi::FileSystemCallbackDispatcher* dispatcher); 85 const MetadataCallback& success_callback,
86 const StatusCallback& error_callback);
91 virtual bool ReadDirectoryEntries( 87 virtual bool ReadDirectoryEntries(
92 const GURL& path, 88 const GURL& path,
93 fileapi::FileSystemCallbackDispatcher* dispatcher); 89 const ReadDirectoryCallback& success_callback,
90 const StatusCallback& error_callback);
94 virtual bool Touch(const GURL& path, 91 virtual bool Touch(const GURL& path,
95 const base::Time& last_access_time, 92 const base::Time& last_access_time,
96 const base::Time& last_modified_time, 93 const base::Time& last_modified_time,
97 fileapi::FileSystemCallbackDispatcher* dispatcher); 94 const StatusCallback& callback);
98 virtual bool SetLength(const GURL& path, 95 virtual bool SetLength(const GURL& path,
99 int64_t length, 96 int64_t length,
100 fileapi::FileSystemCallbackDispatcher* dispatcher); 97 const StatusCallback& callback);
101 virtual bool Delete(const GURL& path, 98 virtual bool Delete(const GURL& path,
102 fileapi::FileSystemCallbackDispatcher* dispatcher); 99 const StatusCallback& callback);
103 virtual bool Rename(const GURL& file_path, 100 virtual bool Rename(const GURL& file_path,
104 const GURL& new_file_path, 101 const GURL& new_file_path,
105 fileapi::FileSystemCallbackDispatcher* dispatcher); 102 const StatusCallback& callback);
106 virtual bool ReadDirectory( 103 virtual bool ReadDirectory(
107 const GURL& directory_path, 104 const GURL& directory_path,
108 fileapi::FileSystemCallbackDispatcher* dispatcher); 105 const ReadDirectoryCallback& success_callback,
106 const StatusCallback& error_callback);
109 virtual void QueryAvailableSpace(const GURL& origin, 107 virtual void QueryAvailableSpace(const GURL& origin,
110 quota::StorageType type, 108 quota::StorageType type,
111 const AvailableSpaceCallback& callback); 109 const AvailableSpaceCallback& callback);
112 virtual void WillUpdateFile(const GURL& file_path); 110 virtual void WillUpdateFile(const GURL& file_path);
113 virtual void DidUpdateFile(const GURL& file_path, int64_t delta); 111 virtual void DidUpdateFile(const GURL& file_path, int64_t delta);
114 virtual void SyncGetFileSystemPlatformPath(const GURL& url, 112 virtual void SyncGetFileSystemPlatformPath(const GURL& url,
115 base::FilePath* platform_path); 113 base::FilePath* platform_path);
116 virtual scoped_refptr<base::MessageLoopProxy> 114 virtual scoped_refptr<base::MessageLoopProxy>
117 GetFileThreadMessageLoopProxy(); 115 GetFileThreadMessageLoopProxy();
118 virtual uint32 TCPSocketCreate(); 116 virtual uint32 TCPSocketCreate();
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 bool should_close_source) const; 180 bool should_close_source) const;
183 virtual bool IsRunningInProcess(PP_Instance instance) const; 181 virtual bool IsRunningInProcess(PP_Instance instance) const;
184 virtual void HandleDocumentLoad(PluginInstance* instance, 182 virtual void HandleDocumentLoad(PluginInstance* instance,
185 const WebKit::WebURLResponse& response); 183 const WebKit::WebURLResponse& response);
186 }; 184 };
187 185
188 } // namespace ppapi 186 } // namespace ppapi
189 } // namespace webkit 187 } // namespace webkit
190 188
191 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 189 #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