summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webfileutilities_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webfileutilities_impl.cc')
-rw-r--r--webkit/glue/webfileutilities_impl.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/webkit/glue/webfileutilities_impl.cc b/webkit/glue/webfileutilities_impl.cc
index 3241884..fdf63a1 100644
--- a/webkit/glue/webfileutilities_impl.cc
+++ b/webkit/glue/webfileutilities_impl.cc
@@ -27,7 +27,7 @@ WebFileUtilitiesImpl::~WebFileUtilitiesImpl() {
}
bool WebFileUtilitiesImpl::fileExists(const WebString& path) {
- FilePath file_path = webkit_base::WebStringToFilePath(path);
+ base::FilePath file_path = webkit_base::WebStringToFilePath(path);
return file_util::PathExists(file_path);
}
@@ -58,33 +58,33 @@ bool WebFileUtilitiesImpl::getFileInfo(const WebString& path,
}
WebString WebFileUtilitiesImpl::directoryName(const WebString& path) {
- FilePath file_path(webkit_base::WebStringToFilePath(path));
+ base::FilePath file_path(webkit_base::WebStringToFilePath(path));
return webkit_base::FilePathToWebString(file_path.DirName());
}
WebString WebFileUtilitiesImpl::pathByAppendingComponent(
const WebString& webkit_path,
const WebString& webkit_component) {
- FilePath path(webkit_base::WebStringToFilePath(webkit_path));
- FilePath component(webkit_base::WebStringToFilePath(webkit_component));
- FilePath combined_path = path.Append(component);
+ base::FilePath path(webkit_base::WebStringToFilePath(webkit_path));
+ base::FilePath component(webkit_base::WebStringToFilePath(webkit_component));
+ base::FilePath combined_path = path.Append(component);
return webkit_base::FilePathStringToWebString(combined_path.value());
}
bool WebFileUtilitiesImpl::makeAllDirectories(const WebString& path) {
DCHECK(!sandbox_enabled_);
- FilePath file_path = webkit_base::WebStringToFilePath(path);
+ base::FilePath file_path = webkit_base::WebStringToFilePath(path);
return file_util::CreateDirectory(file_path);
}
WebString WebFileUtilitiesImpl::getAbsolutePath(const WebString& path) {
- FilePath file_path(webkit_base::WebStringToFilePath(path));
+ base::FilePath file_path(webkit_base::WebStringToFilePath(path));
file_util::AbsolutePath(&file_path);
return webkit_base::FilePathStringToWebString(file_path.value());
}
bool WebFileUtilitiesImpl::isDirectory(const WebString& path) {
- FilePath file_path(webkit_base::WebStringToFilePath(path));
+ base::FilePath file_path(webkit_base::WebStringToFilePath(path));
return file_util::DirectoryExists(file_path);
}