| Index: content/common/file_system/webfilesystem_impl.cc
|
| ===================================================================
|
| --- content/common/file_system/webfilesystem_impl.cc (revision 81454)
|
| +++ content/common/file_system/webfilesystem_impl.cc (working copy)
|
| @@ -27,8 +27,8 @@
|
| WebFileSystemCallbacks* callbacks) {
|
| FileSystemDispatcher* dispatcher =
|
| ChildThread::current()->file_system_dispatcher();
|
| - dispatcher->Move(webkit_glue::WebStringToFilePath(src_path),
|
| - webkit_glue::WebStringToFilePath(dest_path),
|
| + dispatcher->Move(GURL(src_path),
|
| + GURL(dest_path),
|
| new WebFileSystemCallbackDispatcher(callbacks));
|
| }
|
|
|
| @@ -37,8 +37,8 @@
|
| WebFileSystemCallbacks* callbacks) {
|
| FileSystemDispatcher* dispatcher =
|
| ChildThread::current()->file_system_dispatcher();
|
| - dispatcher->Copy(webkit_glue::WebStringToFilePath(src_path),
|
| - webkit_glue::WebStringToFilePath(dest_path),
|
| + dispatcher->Copy(GURL(src_path),
|
| + GURL(dest_path),
|
| new WebFileSystemCallbackDispatcher(callbacks));
|
| }
|
|
|
| @@ -46,7 +46,7 @@
|
| WebFileSystemCallbacks* callbacks) {
|
| FileSystemDispatcher* dispatcher =
|
| ChildThread::current()->file_system_dispatcher();
|
| - dispatcher->Remove(webkit_glue::WebStringToFilePath(path),
|
| + dispatcher->Remove(GURL(path),
|
| false /* recursive */,
|
| new WebFileSystemCallbackDispatcher(callbacks));
|
| }
|
| @@ -55,7 +55,7 @@
|
| WebFileSystemCallbacks* callbacks) {
|
| FileSystemDispatcher* dispatcher =
|
| ChildThread::current()->file_system_dispatcher();
|
| - dispatcher->Remove(webkit_glue::WebStringToFilePath(path),
|
| + dispatcher->Remove(GURL(path),
|
| true /* recursive */,
|
| new WebFileSystemCallbackDispatcher(callbacks));
|
| }
|
| @@ -64,7 +64,7 @@
|
| WebFileSystemCallbacks* callbacks) {
|
| FileSystemDispatcher* dispatcher =
|
| ChildThread::current()->file_system_dispatcher();
|
| - dispatcher->ReadMetadata(webkit_glue::WebStringToFilePath(path),
|
| + dispatcher->ReadMetadata(GURL(path),
|
| new WebFileSystemCallbackDispatcher(callbacks));
|
| }
|
|
|
| @@ -73,7 +73,7 @@
|
| WebFileSystemCallbacks* callbacks) {
|
| FileSystemDispatcher* dispatcher =
|
| ChildThread::current()->file_system_dispatcher();
|
| - dispatcher->Create(webkit_glue::WebStringToFilePath(path), exclusive, false,
|
| + dispatcher->Create(GURL(path), exclusive, false,
|
| false, new WebFileSystemCallbackDispatcher(callbacks));
|
| }
|
|
|
| @@ -82,7 +82,7 @@
|
| WebFileSystemCallbacks* callbacks) {
|
| FileSystemDispatcher* dispatcher =
|
| ChildThread::current()->file_system_dispatcher();
|
| - dispatcher->Create(webkit_glue::WebStringToFilePath(path), exclusive, true,
|
| + dispatcher->Create(GURL(path), exclusive, true,
|
| false, new WebFileSystemCallbackDispatcher(callbacks));
|
| }
|
|
|
| @@ -90,7 +90,7 @@
|
| WebFileSystemCallbacks* callbacks) {
|
| FileSystemDispatcher* dispatcher =
|
| ChildThread::current()->file_system_dispatcher();
|
| - dispatcher->Exists(webkit_glue::WebStringToFilePath(path), false,
|
| + dispatcher->Exists(GURL(path), false,
|
| new WebFileSystemCallbackDispatcher(callbacks));
|
| }
|
|
|
| @@ -98,7 +98,7 @@
|
| WebFileSystemCallbacks* callbacks) {
|
| FileSystemDispatcher* dispatcher =
|
| ChildThread::current()->file_system_dispatcher();
|
| - dispatcher->Exists(webkit_glue::WebStringToFilePath(path), true,
|
| + dispatcher->Exists(GURL(path), true,
|
| new WebFileSystemCallbackDispatcher(callbacks));
|
| }
|
|
|
| @@ -106,11 +106,11 @@
|
| WebFileSystemCallbacks* callbacks) {
|
| FileSystemDispatcher* dispatcher =
|
| ChildThread::current()->file_system_dispatcher();
|
| - dispatcher->ReadDirectory(webkit_glue::WebStringToFilePath(path),
|
| + dispatcher->ReadDirectory(GURL(path),
|
| new WebFileSystemCallbackDispatcher(callbacks));
|
| }
|
|
|
| WebKit::WebFileWriter* WebFileSystemImpl::createFileWriter(
|
| const WebString& path, WebKit::WebFileWriterClient* client) {
|
| - return new WebFileWriterImpl(path, client);
|
| + return new WebFileWriterImpl(GURL(path), client);
|
| }
|
|
|