summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/simple_file_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/simple_file_writer.cc')
-rw-r--r--webkit/tools/test_shell/simple_file_writer.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/webkit/tools/test_shell/simple_file_writer.cc b/webkit/tools/test_shell/simple_file_writer.cc
index 9304978..657d247 100644
--- a/webkit/tools/test_shell/simple_file_writer.cc
+++ b/webkit/tools/test_shell/simple_file_writer.cc
@@ -45,7 +45,7 @@ class SimpleFileWriter::IOThreadProxy
virtual ~IOThreadProxy() {
}
- void Truncate(const FilePath& path, int64 offset) {
+ void Truncate(const GURL& path, int64 offset) {
if (!io_thread_->BelongsToCurrentThread()) {
io_thread_->PostTask(FROM_HERE, NewRunnableMethod(
this, &IOThreadProxy::Truncate, path, offset));
@@ -56,7 +56,7 @@ class SimpleFileWriter::IOThreadProxy
operation_->Truncate(path, offset);
}
- void Write(const FilePath& path, const GURL& blob_url, int64 offset) {
+ void Write(const GURL& path, const GURL& blob_url, int64 offset) {
if (!io_thread_->BelongsToCurrentThread()) {
io_thread_->PostTask(FROM_HERE, NewRunnableMethod(
this, &IOThreadProxy::Write, path, blob_url, offset));
@@ -118,7 +118,7 @@ class SimpleFileWriter::IOThreadProxy
virtual void DidOpenFileSystem(
const std::string& name,
- const FilePath& root_path) {
+ const GURL& root) {
NOTREACHED();
}
@@ -181,7 +181,7 @@ class SimpleFileWriter::IOThreadProxy
SimpleFileWriter::SimpleFileWriter(
- const WebString& path,
+ const GURL& path,
WebFileWriterClient* client,
FileSystemContext* file_system_context)
: WebFileWriterBase(path, client),
@@ -191,12 +191,12 @@ SimpleFileWriter::SimpleFileWriter(
SimpleFileWriter::~SimpleFileWriter() {
}
-void SimpleFileWriter::DoTruncate(const FilePath& path, int64 offset) {
+void SimpleFileWriter::DoTruncate(const GURL& path, int64 offset) {
io_thread_proxy_->Truncate(path, offset);
}
void SimpleFileWriter::DoWrite(
- const FilePath& path, const GURL& blob_url, int64 offset) {
+ const GURL& path, const GURL& blob_url, int64 offset) {
io_thread_proxy_->Write(path, blob_url, offset);
}