summaryrefslogtreecommitdiffstats
path: root/content/renderer/pepper_plugin_delegate_impl.cc
diff options
context:
space:
mode:
authorericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-09 02:12:35 +0000
committerericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-09 02:12:35 +0000
commitd232fcfd4193f66833fb60ade258c2dde7995329 (patch)
tree765ae2295d1c0bf06136bf39f64b9b216b81ff27 /content/renderer/pepper_plugin_delegate_impl.cc
parente0cf664f805d83c64e648e011786de1dc29c9f21 (diff)
downloadchromium_src-d232fcfd4193f66833fb60ade258c2dde7995329.zip
chromium_src-d232fcfd4193f66833fb60ade258c2dde7995329.tar.gz
chromium_src-d232fcfd4193f66833fb60ade258c2dde7995329.tar.bz2
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 due to a recent checkin that required a merge. There are a few changes here that weren't there [in file_system_operation_write_unittest.cc and file_system_operation.cc], but they're pretty trivial build/test fixes. BUG=none TEST=none Review URL: http://codereview.chromium.org/6813066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/pepper_plugin_delegate_impl.cc')
-rw-r--r--content/renderer/pepper_plugin_delegate_impl.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc
index de2afc7..93640db 100644
--- a/content/renderer/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper_plugin_delegate_impl.cc
@@ -624,7 +624,7 @@ bool PepperPluginDelegateImpl::OpenFileSystem(
}
bool PepperPluginDelegateImpl::MakeDirectory(
- const FilePath& path,
+ const GURL& path,
bool recursive,
fileapi::FileSystemCallbackDispatcher* dispatcher) {
FileSystemDispatcher* file_system_dispatcher =
@@ -634,7 +634,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();
@@ -642,7 +642,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) {
@@ -653,7 +653,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();
@@ -662,8 +662,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();
@@ -671,7 +671,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();