Add Archive::GetFD

This commit is contained in:
Cheng Zhao 2015-05-11 11:02:17 +08:00
parent f8e1dfbbc6
commit d8d7e5b9bb
5 changed files with 34 additions and 5 deletions

View file

@ -26,7 +26,7 @@ class ScopedTemporaryFile {
bool Init();
// Init an temporary file and fill it with content of |path|.
bool InitFromFile(base::File& src, uint64 offset, uint64 size);
bool InitFromFile(base::File* src, uint64 offset, uint64 size);
base::FilePath path() const { return path_; }