Keep archive's file opened in the archive's whole life time
This commit is contained in:
parent
f02cae1b0a
commit
f8e1dfbbc6
4 changed files with 15 additions and 10 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <vector>
|
||||
|
||||
#include "base/containers/scoped_ptr_hash_map.h"
|
||||
#include "base/files/file.h"
|
||||
#include "base/files/file_path.h"
|
||||
#include "base/memory/scoped_ptr.h"
|
||||
|
||||
|
@ -64,6 +65,7 @@ class Archive {
|
|||
|
||||
private:
|
||||
base::FilePath path_;
|
||||
base::File file_;
|
||||
uint32 header_size_;
|
||||
scoped_ptr<base::DictionaryValue> header_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue