• Home
  • Raw
  • Download

Lines Matching refs:base

16 namespace base {
34 DirectoryContentEntry(const base::FilePath& path, bool is_directory) in DirectoryContentEntry()
36 base::FilePath path;
42 virtual std::vector<base::File> OpenFilesForReading(
43 const std::vector<base::FilePath>& paths) = 0;
45 virtual bool DirectoryExists(const base::FilePath& path) = 0;
47 const base::FilePath& dir_path) = 0;
48 virtual base::Time GetLastModifiedTime(const base::FilePath& path) = 0;
53 ZipParams(const base::FilePath& src_dir, const base::FilePath& dest_file);
56 ZipParams(const base::FilePath& src_dir, int dest_fd);
61 const base::FilePath& src_dir() const { return src_dir_; } in src_dir()
63 const base::FilePath& dest_file() const { return dest_file_; } in dest_file()
69 void set_files_to_zip(const std::vector<base::FilePath>& src_relative_paths) { in set_files_to_zip()
72 const std::vector<base::FilePath>& files_to_zip() const { return src_files_; } in files_to_zip()
74 using FilterCallback = base::RepeatingCallback<bool(const base::FilePath&)>;
95 base::FilePath src_dir_;
97 base::FilePath dest_file_;
99 int dest_fd_ = base::kInvalidPlatformFile;
104 std::vector<base::FilePath> src_files_;
128 using FilterCallback = base::RepeatingCallback<bool(const base::FilePath&)>;
129 bool ZipWithFilterCallback(const base::FilePath& src_dir,
130 const base::FilePath& dest_file,
136 bool Zip(const base::FilePath& src_dir, const base::FilePath& dest_file,
145 bool ZipFiles(const base::FilePath& src_dir,
146 const std::vector<base::FilePath>& src_relative_paths,
155 using FilterCallback = base::RepeatingCallback<bool(const base::FilePath&)>;
156 bool UnzipWithFilterCallback(const base::FilePath& zip_file,
157 const base::FilePath& dest_dir,
166 typedef base::RepeatingCallback<std::unique_ptr<WriterDelegate>(
167 const base::FilePath&)>
169 typedef base::RepeatingCallback<bool(const base::FilePath&)> DirectoryCreator;
170 bool UnzipWithFilterAndWriters(const base::PlatformFile& zip_file,
177 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);