diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-24 13:12:53 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-24 13:12:53 +0000 |
commit | 8e3bc3ea3e6fc6bba61a7b35faa625d47bd25dbd (patch) | |
tree | 4e4ffced011bed0ec3df2c28174eed939972e25b /webkit/tools | |
parent | c5fa0b36d0dd3259ed5249f5fc8b94adfb76a77d (diff) | |
download | chromium_src-8e3bc3ea3e6fc6bba61a7b35faa625d47bd25dbd.zip chromium_src-8e3bc3ea3e6fc6bba61a7b35faa625d47bd25dbd.tar.gz chromium_src-8e3bc3ea3e6fc6bba61a7b35faa625d47bd25dbd.tar.bz2 |
Rename FileSystemOperationInterface to FileSystemOperation
BUG=144388
TEST=existing tests
Review URL: https://chromiumcodereview.appspot.com/10870040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools')
-rw-r--r-- | webkit/tools/test_shell/simple_file_system.cc | 12 | ||||
-rw-r--r-- | webkit/tools/test_shell/simple_file_system.h | 12 | ||||
-rw-r--r-- | webkit/tools/test_shell/simple_file_writer.cc | 8 |
3 files changed, 16 insertions, 16 deletions
diff --git a/webkit/tools/test_shell/simple_file_system.cc b/webkit/tools/test_shell/simple_file_system.cc index cc33249..aae827b0 100644 --- a/webkit/tools/test_shell/simple_file_system.cc +++ b/webkit/tools/test_shell/simple_file_system.cc @@ -45,7 +45,7 @@ using WebKit::WebVector; using webkit_blob::BlobData; using webkit_blob::BlobStorageController; using fileapi::FileSystemContext; -using fileapi::FileSystemOperationInterface; +using fileapi::FileSystemOperation; using fileapi::FileSystemTaskRunners; using fileapi::FileSystemURL; @@ -269,24 +269,24 @@ bool SimpleFileSystem::HasFilePermission( permission == FILE_PERMISSION_READ); } -FileSystemOperationInterface* SimpleFileSystem::GetNewOperation( +FileSystemOperation* SimpleFileSystem::GetNewOperation( const fileapi::FileSystemURL& url) { return file_system_context_->CreateFileSystemOperation(url); } -FileSystemOperationInterface::StatusCallback +FileSystemOperation::StatusCallback SimpleFileSystem::FinishHandler(WebFileSystemCallbacks* callbacks) { return base::Bind(&SimpleFileSystem::DidFinish, AsWeakPtr(), base::Unretained(callbacks)); } -FileSystemOperationInterface::ReadDirectoryCallback +FileSystemOperation::ReadDirectoryCallback SimpleFileSystem::ReadDirectoryHandler(WebFileSystemCallbacks* callbacks) { return base::Bind(&SimpleFileSystem::DidReadDirectory, AsWeakPtr(), base::Unretained(callbacks)); } -FileSystemOperationInterface::GetMetadataCallback +FileSystemOperation::GetMetadataCallback SimpleFileSystem::GetMetadataHandler(WebFileSystemCallbacks* callbacks) { return base::Bind(&SimpleFileSystem::DidGetMetadata, AsWeakPtr(), base::Unretained(callbacks)); @@ -304,7 +304,7 @@ SimpleFileSystem::DeleteFileSystemHandler(WebFileSystemCallbacks* callbacks) { AsWeakPtr(), callbacks); } -FileSystemOperationInterface::SnapshotFileCallback +FileSystemOperation::SnapshotFileCallback SimpleFileSystem::SnapshotFileHandler(const GURL& blob_url, WebFileSystemCallbacks* callbacks) { return base::Bind(&SimpleFileSystem::DidCreateSnapshotFile, diff --git a/webkit/tools/test_shell/simple_file_system.h b/webkit/tools/test_shell/simple_file_system.h index 6d85409..548d8db 100644 --- a/webkit/tools/test_shell/simple_file_system.h +++ b/webkit/tools/test_shell/simple_file_system.h @@ -11,7 +11,7 @@ #include "base/scoped_temp_dir.h" #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSystem.h" #include "webkit/fileapi/file_system_context.h" -#include "webkit/fileapi/file_system_operation_interface.h" +#include "webkit/fileapi/file_system_operation.h" #include "webkit/fileapi/file_system_types.h" #include <vector> @@ -106,21 +106,21 @@ class SimpleFileSystem // Helpers. bool HasFilePermission(const fileapi::FileSystemURL& url, FilePermission permission); - fileapi::FileSystemOperationInterface* GetNewOperation( + fileapi::FileSystemOperation* GetNewOperation( const fileapi::FileSystemURL& url); // Callback Handlers - fileapi::FileSystemOperationInterface::StatusCallback FinishHandler( + fileapi::FileSystemOperation::StatusCallback FinishHandler( WebKit::WebFileSystemCallbacks* callbacks); - fileapi::FileSystemOperationInterface::GetMetadataCallback GetMetadataHandler( + fileapi::FileSystemOperation::GetMetadataCallback GetMetadataHandler( WebKit::WebFileSystemCallbacks* callbacks); - fileapi::FileSystemOperationInterface::ReadDirectoryCallback + fileapi::FileSystemOperation::ReadDirectoryCallback ReadDirectoryHandler(WebKit::WebFileSystemCallbacks* callbacks); fileapi::FileSystemContext::OpenFileSystemCallback OpenFileSystemHandler( WebKit::WebFileSystemCallbacks* callbacks); fileapi::FileSystemContext::DeleteFileSystemCallback DeleteFileSystemHandler( WebKit::WebFileSystemCallbacks* callbacks); - fileapi::FileSystemOperationInterface::SnapshotFileCallback + fileapi::FileSystemOperation::SnapshotFileCallback SnapshotFileHandler(const GURL& blob_url, WebKit::WebFileSystemCallbacks* callbacks); void DidFinish(WebKit::WebFileSystemCallbacks* callbacks, diff --git a/webkit/tools/test_shell/simple_file_writer.cc b/webkit/tools/test_shell/simple_file_writer.cc index bf48185..2a38493 100644 --- a/webkit/tools/test_shell/simple_file_writer.cc +++ b/webkit/tools/test_shell/simple_file_writer.cc @@ -10,7 +10,7 @@ #include "base/message_loop_proxy.h" #include "net/url_request/url_request_context.h" #include "webkit/fileapi/file_system_context.h" -#include "webkit/fileapi/file_system_operation_interface.h" +#include "webkit/fileapi/file_system_operation.h" #include "webkit/fileapi/file_system_types.h" #include "webkit/fileapi/file_system_url.h" #include "webkit/glue/webkit_glue.h" @@ -18,7 +18,7 @@ using fileapi::FileSystemURL; using fileapi::FileSystemContext; -using fileapi::FileSystemOperationInterface; +using fileapi::FileSystemOperation; using fileapi::WebFileWriterBase; using WebKit::WebFileWriterClient; using WebKit::WebString; @@ -92,7 +92,7 @@ class SimpleFileWriter::IOThreadProxy friend class base::RefCountedThreadSafe<IOThreadProxy>; virtual ~IOThreadProxy() {} - FileSystemOperationInterface* GetNewOperation( const FileSystemURL& url) { + FileSystemOperation* GetNewOperation( const FileSystemURL& url) { return file_system_context_->CreateFileSystemOperation(url); } @@ -171,7 +171,7 @@ class SimpleFileWriter::IOThreadProxy base::WeakPtr<SimpleFileWriter> simple_writer_; // Only used on the io thread. - FileSystemOperationInterface* operation_; + FileSystemOperation* operation_; scoped_refptr<FileSystemContext> file_system_context_; }; |