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

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
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& callback);
91 virtual bool ReadDirectoryEntries( 86 virtual bool ReadDirectoryEntries(
92 const GURL& path, 87 const GURL& path,
93 fileapi::FileSystemCallbackDispatcher* dispatcher); 88 const ReadDirectoryCallback& callback);
94 virtual bool Touch(const GURL& path, 89 virtual bool Touch(const GURL& path,
95 const base::Time& last_access_time, 90 const base::Time& last_access_time,
96 const base::Time& last_modified_time, 91 const base::Time& last_modified_time,
97 fileapi::FileSystemCallbackDispatcher* dispatcher); 92 const StatusCallback& callback);
98 virtual bool SetLength(const GURL& path, 93 virtual bool SetLength(const GURL& path,
99 int64_t length, 94 int64_t length,
100 fileapi::FileSystemCallbackDispatcher* dispatcher); 95 const StatusCallback& callback);
101 virtual bool Delete(const GURL& path, 96 virtual bool Delete(const GURL& path,
102 fileapi::FileSystemCallbackDispatcher* dispatcher); 97 const StatusCallback& callback);
103 virtual bool Rename(const GURL& file_path, 98 virtual bool Rename(const GURL& file_path,
104 const GURL& new_file_path, 99 const GURL& new_file_path,
105 fileapi::FileSystemCallbackDispatcher* dispatcher); 100 const StatusCallback& callback);
106 virtual bool ReadDirectory( 101 virtual bool ReadDirectory(
107 const GURL& directory_path, 102 const GURL& directory_path,
108 fileapi::FileSystemCallbackDispatcher* dispatcher); 103 const ReadDirectoryCallback& callback);
109 virtual void QueryAvailableSpace(const GURL& origin, 104 virtual void QueryAvailableSpace(const GURL& origin,
110 quota::StorageType type, 105 quota::StorageType type,
111 const AvailableSpaceCallback& callback); 106 const AvailableSpaceCallback& callback);
112 virtual void WillUpdateFile(const GURL& file_path); 107 virtual void WillUpdateFile(const GURL& file_path);
113 virtual void DidUpdateFile(const GURL& file_path, int64_t delta); 108 virtual void DidUpdateFile(const GURL& file_path, int64_t delta);
114 virtual void SyncGetFileSystemPlatformPath(const GURL& url, 109 virtual void SyncGetFileSystemPlatformPath(const GURL& url,
115 base::FilePath* platform_path); 110 base::FilePath* platform_path);
116 virtual scoped_refptr<base::MessageLoopProxy> 111 virtual scoped_refptr<base::MessageLoopProxy>
117 GetFileThreadMessageLoopProxy(); 112 GetFileThreadMessageLoopProxy();
118 virtual uint32 TCPSocketCreate(); 113 virtual uint32 TCPSocketCreate();
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 base::PlatformFile handle, 175 base::PlatformFile handle,
181 base::ProcessId target_process_id, 176 base::ProcessId target_process_id,
182 bool should_close_source) const; 177 bool should_close_source) const;
183 virtual bool IsRunningInProcess(PP_Instance instance) const; 178 virtual bool IsRunningInProcess(PP_Instance instance) const;
184 }; 179 };
185 180
186 } // namespace ppapi 181 } // namespace ppapi
187 } // namespace webkit 182 } // namespace webkit
188 183
189 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 184 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698