From 41e889432dacf1044c38d23a49b7edbc44d273b6 Mon Sep 17 00:00:00 2001 From: "ericu@google.com" Date: Wed, 13 Apr 2011 19:53:30 +0000 Subject: More filesystem cleanup: convert URL-encoded-as-FilePath to actual URL, where possible without WebKit API changes. The WebKit changes will happen in another CL. This is a resubmit of http://codereview.chromium.org/6767010/, which bounced recently. There are a few changes here that weren't there [most notably in file_system_operation_write_unittest.cc and file_system_operation.cc], but they're pretty trivial build/test fixes. Review URL: http://codereview.chromium.org/6833007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81463 0039d316-1c4b-4281-b951-d872f2087c98 --- content/renderer/pepper_plugin_delegate_impl.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'content/renderer/pepper_plugin_delegate_impl.cc') diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc index eaa98c5..5a62f25 100644 --- a/content/renderer/pepper_plugin_delegate_impl.cc +++ b/content/renderer/pepper_plugin_delegate_impl.cc @@ -626,7 +626,7 @@ bool PepperPluginDelegateImpl::OpenFileSystem( } bool PepperPluginDelegateImpl::MakeDirectory( - const FilePath& path, + const GURL& path, bool recursive, fileapi::FileSystemCallbackDispatcher* dispatcher) { FileSystemDispatcher* file_system_dispatcher = @@ -636,7 +636,7 @@ bool PepperPluginDelegateImpl::MakeDirectory( } bool PepperPluginDelegateImpl::Query( - const FilePath& path, + const GURL& path, fileapi::FileSystemCallbackDispatcher* dispatcher) { FileSystemDispatcher* file_system_dispatcher = ChildThread::current()->file_system_dispatcher(); @@ -644,7 +644,7 @@ bool PepperPluginDelegateImpl::Query( } bool PepperPluginDelegateImpl::Touch( - const FilePath& path, + const GURL& path, const base::Time& last_access_time, const base::Time& last_modified_time, fileapi::FileSystemCallbackDispatcher* dispatcher) { @@ -655,7 +655,7 @@ bool PepperPluginDelegateImpl::Touch( } bool PepperPluginDelegateImpl::Delete( - const FilePath& path, + const GURL& path, fileapi::FileSystemCallbackDispatcher* dispatcher) { FileSystemDispatcher* file_system_dispatcher = ChildThread::current()->file_system_dispatcher(); @@ -664,8 +664,8 @@ bool PepperPluginDelegateImpl::Delete( } bool PepperPluginDelegateImpl::Rename( - const FilePath& file_path, - const FilePath& new_file_path, + const GURL& file_path, + const GURL& new_file_path, fileapi::FileSystemCallbackDispatcher* dispatcher) { FileSystemDispatcher* file_system_dispatcher = ChildThread::current()->file_system_dispatcher(); @@ -673,7 +673,7 @@ bool PepperPluginDelegateImpl::Rename( } bool PepperPluginDelegateImpl::ReadDirectory( - const FilePath& directory_path, + const GURL& directory_path, fileapi::FileSystemCallbackDispatcher* dispatcher) { FileSystemDispatcher* file_system_dispatcher = ChildThread::current()->file_system_dispatcher(); -- cgit v1.1