Lines Matching refs:path
58 for (const base::FilePath& path : paths) {
59 DCHECK(!path.IsAbsolute());
60 const base::FilePath absolute_path = src_dir_.Append(path);
63 LOG(ERROR) << "Cannot open " << Redact(path) << ": It is a directory";
68 << "Cannot open " << Redact(path) << ": "
76 bool List(const base::FilePath& path,
79 DCHECK(!path.IsAbsolute());
84 src_dir_.Append(path), false /* recursive */,
90 ->push_back(path.Append(info.GetName()));
96 bool GetInfo(const base::FilePath& path, Info* const info) override {
97 DCHECK(!path.IsAbsolute());
101 if (!base::GetFileInfo(src_dir_.Append(path), &file_info)) {
102 PLOG(ERROR) << "Cannot get info of " << Redact(path);
153 [](const ZipParams* const params, const base::FilePath& path) -> bool {
154 return (params->include_hidden_files || !IsHiddenFile(path)) &&
156 params->filter_callback.Run(params->src_dir.Append(path)));
208 LOG(ERROR) << "Found unsafe entry " << Redact(entry->path) << " in ZIP";
214 if (options.filter && !options.filter.Run(entry->path)) {
215 VLOG(1) << "Skipped ZIP entry " << Redact(entry->path);
221 if (!directory_creator.Run(entry->path)) {
222 LOG(ERROR) << "Cannot create directory " << Redact(entry->path);
231 std::unique_ptr<WriterDelegate> writer = writer_factory.Run(entry->path);
236 LOG(ERROR) << "Cannot extract file " << Redact(entry->path)