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-07 20:29:19 +0000
committerericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-07 20:29:19 +0000
commit647a0c2471827a26451a59894059384d0985e88a (patch)
treedeb842d8421f67c681156e2f3d305856ab7795c8 /content/renderer/pepper_plugin_delegate_impl.cc
parent3abdc9c0071d48e308491119cf1bc373ab60ada2 (diff)
downloadchromium_src-647a0c2471827a26451a59894059384d0985e88a.zip
chromium_src-647a0c2471827a26451a59894059384d0985e88a.tar.gz
chromium_src-647a0c2471827a26451a59894059384d0985e88a.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. BUG=none TEST=none Review URL: http://codereview.chromium.org/6767010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80833 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 96c775c..7706014 100644
--- a/content/renderer/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper_plugin_delegate_impl.cc
@@ -604,7 +604,7 @@ bool PepperPluginDelegateImpl::OpenFileSystem(
}
bool PepperPluginDelegateImpl::MakeDirectory(
- const FilePath& path,
+ const GURL& path,
bool recursive,
fileapi::FileSystemCallbackDispatcher* dispatcher) {
FileSystemDispatcher* file_system_dispatcher =
@@ -614,7 +614,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();
@@ -622,7 +622,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) {
@@ -633,7 +633,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();
@@ -642,8 +642,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();
@@ -651,7 +651,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();