Lines Matching refs:mount_name

98     const std::string& mount_name,  in RegisterFileSystem()  argument
105 if (!ValidateNewMountPoint(mount_name, type, path)) in RegisterFileSystem()
108 instance_map_[mount_name] = in RegisterFileSystem()
111 path_to_name_map_.insert(std::make_pair(path, mount_name)); in RegisterFileSystem()
121 bool ExternalMountPoints::RevokeFileSystem(const std::string& mount_name) { in RevokeFileSystem() argument
123 auto found = instance_map_.find(mount_name); in RevokeFileSystem()
146 std::string* mount_name, in CrackVirtualPath() argument
151 DCHECK(mount_name); in CrackVirtualPath()
175 *mount_name = maybe_mount_name; in CrackVirtualPath()
231 const std::string& mount_name) const { in CreateVirtualRootPath()
232 return base::FilePath().Append(base::FilePath::FromUTF8Unsafe(mount_name)); in CreateVirtualRootPath()
237 const std::string& mount_name, in CreateExternalFileSystemURL() argument
242 base::FilePath(CreateVirtualRootPath(mount_name).value() + in CreateExternalFileSystemURL()
280 std::string mount_name; in CrackFileSystemURL() local
286 if (!CrackVirtualPath(virtual_path, &mount_name, &cracked_type, &cracked_id, in CrackFileSystemURL()
293 !url.filesystem_id().empty() ? url.filesystem_id() : mount_name, in CrackFileSystemURL()
294 cracked_type, cracked_path, cracked_id.empty() ? mount_name : cracked_id, in CrackFileSystemURL()
298 bool ExternalMountPoints::ValidateNewMountPoint(const std::string& mount_name, in ValidateNewMountPoint() argument
304 if (mount_name.empty()) in ValidateNewMountPoint()
308 auto found = instance_map_.find(mount_name); in ValidateNewMountPoint()