Lines Matching defs:temp_path
549 base::FilePath temp_path = extensions_dir.Append(kTempDirectoryName);
550 if (base::PathExists(temp_path)) {
551 if (!base::DirectoryExists(temp_path)) {
552 DLOG(WARNING) << "Not a directory: " << temp_path.value();
555 if (!base::PathIsWritable(temp_path)) {
556 DLOG(WARNING) << "Can't write to path: " << temp_path.value();
560 return temp_path;
564 if (!file_util::CreateDirectory(temp_path)) {
565 DLOG(WARNING) << "Couldn't create directory: " << temp_path.value();
568 return temp_path;