Lines Matching refs:src_dir
53 explicit DirectFileAccessor(base::FilePath src_dir) : src_dir_(src_dir) {} in DirectFileAccessor() argument
103 ZipParams::ZipParams(const base::FilePath& src_dir, in ZipParams() argument
105 : src_dir_(src_dir), in ZipParams()
107 file_accessor_(new DirectFileAccessor(src_dir)) {} in ZipParams()
111 ZipParams::ZipParams(const base::FilePath& src_dir, int dest_fd) in ZipParams() argument
112 : src_dir_(src_dir), in ZipParams()
114 file_accessor_(new DirectFileAccessor(src_dir)) {} in ZipParams()
129 params.src_dir(), true /* is directory*/)); in Zip()
143 params.src_dir().AppendRelativePath(entry_path, &relative_path); in Zip()
161 params.dest_fd(), params.src_dir(), params.file_accessor()); in Zip()
168 params.dest_file(), params.src_dir(), params.file_accessor()); in Zip()
240 bool ZipWithFilterCallback(const base::FilePath& src_dir, in ZipWithFilterCallback() argument
243 DCHECK(base::DirectoryExists(src_dir)); in ZipWithFilterCallback()
244 ZipParams params(src_dir, dest_file); in ZipWithFilterCallback()
249 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file, in Zip() argument
252 return ZipWithFilterCallback(src_dir, dest_file, in Zip()
256 src_dir, dest_file, base::BindRepeating(&ExcludeHiddenFilesFilter)); in Zip()
261 bool ZipFiles(const base::FilePath& src_dir, in ZipFiles() argument
264 DCHECK(base::DirectoryExists(src_dir)); in ZipFiles()
265 ZipParams params(src_dir, dest_fd); in ZipFiles()