| Index: webkit/browser/fileapi/file_system_operation_impl.h
|
| diff --git a/webkit/browser/fileapi/local_file_system_operation.h b/webkit/browser/fileapi/file_system_operation_impl.h
|
| similarity index 95%
|
| rename from webkit/browser/fileapi/local_file_system_operation.h
|
| rename to webkit/browser/fileapi/file_system_operation_impl.h
|
| index 1ccaf40a6de56a76e930aeadec412e1f1480ad02..bd1b291d29cd8b3e3cd91cdcef0d913baa94ff97 100644
|
| --- a/webkit/browser/fileapi/local_file_system_operation.h
|
| +++ b/webkit/browser/fileapi/file_system_operation_impl.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef WEBKIT_BROWSER_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_
|
| -#define WEBKIT_BROWSER_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_
|
| +#ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_
|
| +#define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_
|
|
|
| #include <vector>
|
|
|
| @@ -24,21 +24,21 @@ class AsyncFileUtil;
|
| class FileSystemContext;
|
| class RecursiveOperationDelegate;
|
|
|
| -// FileSystemOperation implementation for local file systems.
|
| -class WEBKIT_STORAGE_BROWSER_EXPORT LocalFileSystemOperation
|
| +// The default implementation of FileSystemOperation for file systems.
|
| +class WEBKIT_STORAGE_BROWSER_EXPORT FileSystemOperationImpl
|
| : public NON_EXPORTED_BASE(FileSystemOperation),
|
| - public base::SupportsWeakPtr<LocalFileSystemOperation> {
|
| + public base::SupportsWeakPtr<FileSystemOperationImpl> {
|
| public:
|
| // NOTE: This constructor should not be called outside FileSystemBackends;
|
| // instead please consider using
|
| // file_system_context->CreateFileSystemOperation() to instantiate
|
| // an appropriate FileSystemOperation.
|
| - LocalFileSystemOperation(
|
| + FileSystemOperationImpl(
|
| const FileSystemURL& url,
|
| FileSystemContext* file_system_context,
|
| scoped_ptr<FileSystemOperationContext> operation_context);
|
|
|
| - virtual ~LocalFileSystemOperation();
|
| + virtual ~FileSystemOperationImpl();
|
|
|
| // FileSystemOperation overrides.
|
| virtual void CreateFile(const FileSystemURL& url,
|
| @@ -79,7 +79,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT LocalFileSystemOperation
|
| base::ProcessHandle peer_handle,
|
| const OpenFileCallback& callback) OVERRIDE;
|
| virtual void Cancel(const StatusCallback& cancel_callback) OVERRIDE;
|
| - virtual LocalFileSystemOperation* AsLocalFileSystemOperation() OVERRIDE;
|
| + virtual FileSystemOperationImpl* AsFileSystemOperationImpl() OVERRIDE;
|
| virtual void CreateSnapshotFile(
|
| const FileSystemURL& path,
|
| const SnapshotFileCallback& callback) OVERRIDE;
|
| @@ -255,9 +255,9 @@ class WEBKIT_STORAGE_BROWSER_EXPORT LocalFileSystemOperation
|
| // A flag to make sure we call operation only once per instance.
|
| OperationType pending_operation_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(LocalFileSystemOperation);
|
| + DISALLOW_COPY_AND_ASSIGN(FileSystemOperationImpl);
|
| };
|
|
|
| } // namespace fileapi
|
|
|
| -#endif // WEBKIT_BROWSER_FILEAPI_LOCAL_FILE_SYSTEM_OPERATION_H_
|
| +#endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_OPERATION_IMPL_H_
|
|
|