summaryrefslogtreecommitdiffstats
path: root/webkit/chromeos
diff options
context:
space:
mode:
authorkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 05:14:59 +0000
committerkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-31 05:14:59 +0000
commit7e836a3d272847159e46976adfe54d73795abbc4 (patch)
tree465f9308aa3e1d01d79d2c1cbb86e260b7de9e4f /webkit/chromeos
parent945b6a7355b6c0eac9bc46350d9731abaa511552 (diff)
downloadchromium_src-7e836a3d272847159e46976adfe54d73795abbc4.zip
chromium_src-7e836a3d272847159e46976adfe54d73795abbc4.tar.gz
chromium_src-7e836a3d272847159e46976adfe54d73795abbc4.tar.bz2
Rename fileapi::FileWriter to FileStreamWriter.
For several reasons the name of the class was confusing: - It does not directly correspond to FileWriter in File API (which is implemented by WebCore::FileWriter), and - FileWriterDelegate is NOT a delegate of the class. hence the change. FileReader renaming is to come in a separate CL. BUG=128483 TEST=unit_tests --gtest_filter='*File*Write*' Review URL: https://chromiumcodereview.appspot.com/10456024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139738 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/chromeos')
-rw-r--r--webkit/chromeos/fileapi/cros_mount_point_provider.cc2
-rw-r--r--webkit/chromeos/fileapi/cros_mount_point_provider.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/webkit/chromeos/fileapi/cros_mount_point_provider.cc b/webkit/chromeos/fileapi/cros_mount_point_provider.cc
index 63f91c0..d0b5782 100644
--- a/webkit/chromeos/fileapi/cros_mount_point_provider.cc
+++ b/webkit/chromeos/fileapi/cros_mount_point_provider.cc
@@ -264,7 +264,7 @@ webkit_blob::FileStreamReader* CrosMountPointProvider::CreateFileStreamReader(
return new fileapi::FileSystemFileStreamReader(context, url, offset);
}
-fileapi::FileWriter* CrosMountPointProvider::CreateFileWriter(
+fileapi::FileStreamWriter* CrosMountPointProvider::CreateFileStreamWriter(
const GURL& url,
int64 offset,
fileapi::FileSystemContext* context) const {
diff --git a/webkit/chromeos/fileapi/cros_mount_point_provider.h b/webkit/chromeos/fileapi/cros_mount_point_provider.h
index a957590..e594eff 100644
--- a/webkit/chromeos/fileapi/cros_mount_point_provider.h
+++ b/webkit/chromeos/fileapi/cros_mount_point_provider.h
@@ -72,7 +72,7 @@ class CrosMountPointProvider
const GURL& path,
int64 offset,
fileapi::FileSystemContext* context) const OVERRIDE;
- virtual fileapi::FileWriter* CreateFileWriter(
+ virtual fileapi::FileStreamWriter* CreateFileStreamWriter(
const GURL& url,
int64 offset,
fileapi::FileSystemContext* context) const OVERRIDE;