| Index: webkit/fileapi/file_system_operation.h
|
| diff --git a/webkit/fileapi/file_system_operation.h b/webkit/fileapi/file_system_operation.h
|
| index f8785e4ee486db5f5a5972ae9edda50805790756..550b54b2f28af88739c8ba17909dd0455ab3c204 100644
|
| --- a/webkit/fileapi/file_system_operation.h
|
| +++ b/webkit/fileapi/file_system_operation.h
|
| @@ -43,9 +43,6 @@ class FileSystemOperationTest;
|
| // FileSystemOperation implementation for local file systems.
|
| class FileSystemOperation : public FileSystemOperationInterface {
|
| public:
|
| - FileSystemOperation(scoped_ptr<FileSystemCallbackDispatcher> dispatcher,
|
| - scoped_refptr<base::MessageLoopProxy> proxy,
|
| - FileSystemContext* file_system_context);
|
| virtual ~FileSystemOperation();
|
|
|
| // FileSystemOperation overrides.
|
| @@ -77,6 +74,7 @@ class FileSystemOperation : public FileSystemOperationInterface {
|
| base::ProcessHandle peer_handle) OVERRIDE;
|
| virtual void Cancel(
|
| scoped_ptr<FileSystemCallbackDispatcher> cancel_dispatcher) OVERRIDE;
|
| + virtual FileSystemOperation* AsFileSystemOperation() OVERRIDE;
|
|
|
| // Synchronously gets the platform path for the given |path|.
|
| void SyncGetPlatformPath(const GURL& path, FilePath* platform_path);
|
| @@ -84,6 +82,16 @@ class FileSystemOperation : public FileSystemOperationInterface {
|
| private:
|
| class ScopedQuotaUtilHelper;
|
|
|
| + // Only MountPointProviders or testing class can create a
|
| + // new operation directly.
|
| + friend class SandboxMountPointProvider;
|
| + friend class CrosMountPointProvider;
|
| + friend class FileSystemTestHelper;
|
| +
|
| + FileSystemOperation(scoped_ptr<FileSystemCallbackDispatcher> dispatcher,
|
| + scoped_refptr<base::MessageLoopProxy> proxy,
|
| + FileSystemContext* file_system_context);
|
| +
|
| FileSystemContext* file_system_context() const {
|
| return operation_context_.file_system_context();
|
| }
|
|
|