Make Archive thread safe
This commit is contained in:
parent
c068285ff8
commit
e496e18f6e
6 changed files with 22 additions and 5 deletions
|
@ -19,6 +19,9 @@ class Archive;
|
|||
// Gets or creates a new Archive from the path.
|
||||
std::shared_ptr<Archive> GetOrCreateAsarArchive(const base::FilePath& path);
|
||||
|
||||
// Destroy cached Archive objects.
|
||||
void ClearArchives();
|
||||
|
||||
// Separates the path to Archive out.
|
||||
bool GetAsarArchivePath(const base::FilePath& full_path,
|
||||
base::FilePath* asar_path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue