summaryrefslogtreecommitdiffstats
path: root/content/worker
diff options
context:
space:
mode:
authorrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-27 21:36:00 +0000
committerrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-27 21:36:00 +0000
commit141bcc5b660175f90a351d0b1fc412eecbeb70e6 (patch)
tree8e168b52c493c7de6b18f7d06efeffa2971e5b03 /content/worker
parent1f0a90767aadea0859d037be675106941338c5e5 (diff)
downloadchromium_src-141bcc5b660175f90a351d0b1fc412eecbeb70e6.zip
chromium_src-141bcc5b660175f90a351d0b1fc412eecbeb70e6.tar.gz
chromium_src-141bcc5b660175f90a351d0b1fc412eecbeb70e6.tar.bz2
Convert Media Galleries to use base::File
Unfortunately, this brings in changes to webkit/browser/fileapi, and once that changes, a lot of files have to be updated. The bright side is that most of the collateral changes are just trivial renaming of PlatformFileError -> File::Error and PlatformFileInfo -> File::Info BUG=322664 Review URL: https://codereview.chromium.org/145303002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247301 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/worker')
-rw-r--r--content/worker/worker_webkitplatformsupport_impl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/worker/worker_webkitplatformsupport_impl.cc b/content/worker/worker_webkitplatformsupport_impl.cc
index 23fb80e..a83cd34 100644
--- a/content/worker/worker_webkitplatformsupport_impl.cc
+++ b/content/worker/worker_webkitplatformsupport_impl.cc
@@ -61,15 +61,15 @@ class WorkerWebKitPlatformSupportImpl::FileUtilities
bool WorkerWebKitPlatformSupportImpl::FileUtilities::getFileInfo(
const WebString& path,
WebFileInfo& web_file_info) {
- base::PlatformFileInfo file_info;
- base::PlatformFileError status;
+ base::File::Info file_info;
+ base::File::Error status;
if (!thread_safe_sender_.get() ||
!thread_safe_sender_->Send(new FileUtilitiesMsg_GetFileInfo(
base::FilePath::FromUTF16Unsafe(path), &file_info, &status)) ||
- status != base::PLATFORM_FILE_OK) {
+ status != base::File::FILE_OK) {
return false;
}
- webkit_glue::PlatformFileInfoToWebFileInfo(file_info, &web_file_info);
+ webkit_glue::FileInfoToWebFileInfo(file_info, &web_file_info);
web_file_info.platformPath = path;
return true;
}