Lines Matching refs:mount_name
96 const std::string& mount_name,
107 if (!ValidateNewMountPoint(mount_name, type, path))
110 instance_map_[mount_name] = new Instance(type, path, mount_option);
112 path_to_name_map_.insert(std::make_pair(path, mount_name));
122 bool ExternalMountPoints::RevokeFileSystem(const std::string& mount_name) {
124 NameToInstance::iterator found = instance_map_.find(mount_name);
148 std::string* mount_name,
153 DCHECK(mount_name);
160 // The virtual_path should comprise of <mount_name> and <relative_path> parts.
181 *mount_name = maybe_mount_name;
238 const std::string& mount_name) const {
239 return base::FilePath().AppendASCII(mount_name);
244 const std::string& mount_name,
250 base::FilePath(CreateVirtualRootPath(mount_name).value() +
293 std::string mount_name;
299 if (!CrackVirtualPath(virtual_path, &mount_name, &cracked_type,
306 !url.filesystem_id().empty() ? url.filesystem_id() : mount_name,
308 cracked_id.empty() ? mount_name : cracked_id, cracked_mount_option);
311 bool ExternalMountPoints::ValidateNewMountPoint(const std::string& mount_name,
317 if (mount_name.empty())
321 NameToInstance::iterator found = instance_map_.find(mount_name);