Searched refs:symlink_path (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/chrome/common/
H A Dlogging_chrome.cc151 base::FilePath SetUpSymlinkIfNeeded(const base::FilePath& symlink_path, argument
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
[all...]
/external/chromium_org/base/files/
H A Dfile_util_posix.cc385 const FilePath& symlink_path) {
386 DCHECK(!symlink_path.empty());
389 symlink_path.value().c_str()) != -1;
392 bool ReadSymbolicLink(const FilePath& symlink_path, FilePath* target_path) { argument
393 DCHECK(!symlink_path.empty());
396 ssize_t count = ::readlink(symlink_path.value().c_str(), buf, arraysize(buf));
384 CreateSymbolicLink(const FilePath& target_path, const FilePath& symlink_path) argument
/external/chromium_org/content/browser/fileapi/
H A Dlocal_file_util_unittest.cc151 base::FilePath symlink_path = LocalPath(symlink_name); local
152 ASSERT_TRUE(base::CreateSymbolicLink(target_path, symlink_path));

Completed in 151 milliseconds