Add Archive::GetFD
This commit is contained in:
parent
f8e1dfbbc6
commit
d8d7e5b9bb
5 changed files with 34 additions and 5 deletions
|
@ -60,6 +60,9 @@ class Archive {
|
|||
// For unpacked file, this method will return its real path.
|
||||
bool CopyFileOut(const base::FilePath& path, base::FilePath* out);
|
||||
|
||||
// Returns the file's fd.
|
||||
int GetFD() const;
|
||||
|
||||
base::FilePath path() const { return path_; }
|
||||
base::DictionaryValue* header() const { return header_.get(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue