Home | History | Annotate | Download | only in common

Lines Matching refs:symlink_path

151 base::FilePath SetUpSymlinkIfNeeded(const base::FilePath& symlink_path,
153 DCHECK(!symlink_path.empty());
160 bool symlink_exists = base::PathExists(symlink_path);
162 target_path = GenerateTimestampedName(symlink_path, base::Time::Now());
165 if (::unlink(symlink_path.value().c_str()) == -1) {
167 DPLOG(WARNING) << "Unable to unlink " << symlink_path.value();
169 if (!base::CreateSymbolicLink(target_path, symlink_path)) {
170 DPLOG(ERROR) << "Unable to create symlink " << symlink_path.value()
174 if (!base::ReadSymbolicLink(symlink_path, &target_path))
175 DPLOG(ERROR) << "Unable to read symlink " << symlink_path.value();