| Index: webkit/browser/fileapi/external_mount_points.cc
|
| diff --git a/webkit/browser/fileapi/external_mount_points.cc b/webkit/browser/fileapi/external_mount_points.cc
|
| index 269c09e2c17fd0e0dfe2a64bb5864f06110d02cd..2b6d967b6025deb7a9bc511bedf332449dcbdf60 100644
|
| --- a/webkit/browser/fileapi/external_mount_points.cc
|
| +++ b/webkit/browser/fileapi/external_mount_points.cc
|
| @@ -257,6 +257,19 @@ base::FilePath ExternalMountPoints::CreateVirtualRootPath(
|
| return base::FilePath().AppendASCII(mount_name);
|
| }
|
|
|
| +FileSystemURL ExternalMountPoints::CreateExternalFileSystemURL(
|
| + const GURL& origin,
|
| + const std::string& mount_name,
|
| + const base::FilePath& path) const {
|
| + return CreateCrackedFileSystemURL(
|
| + origin,
|
| + fileapi::kFileSystemTypeExternal,
|
| + // Avoid using FilePath::Append as path may be an absolute path.
|
| + base::FilePath(
|
| + CreateVirtualRootPath(mount_name).value() +
|
| + base::FilePath::kSeparators[0] + path.value()));
|
| +}
|
| +
|
| ExternalMountPoints::ExternalMountPoints() {}
|
|
|
| ExternalMountPoints::~ExternalMountPoints() {
|
|
|