chore: remove unused method asar::ClearArchives() (#43466)
chore: remove unused asar::ClearArchives()
last use removed in Jun 2021 (b1d1ac65
, #29293)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
d5bf7f7f9f
commit
5829d2a09a
2 changed files with 0 additions and 10 deletions
|
@ -78,13 +78,6 @@ std::shared_ptr<Archive> GetOrCreateAsarArchive(const base::FilePath& path) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ClearArchives() {
|
|
||||||
base::AutoLock auto_lock(GetArchiveCacheLock());
|
|
||||||
ArchiveMap& map = GetArchiveCache();
|
|
||||||
|
|
||||||
map.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool GetAsarArchivePath(const base::FilePath& full_path,
|
bool GetAsarArchivePath(const base::FilePath& full_path,
|
||||||
base::FilePath* asar_path,
|
base::FilePath* asar_path,
|
||||||
base::FilePath* relative_path,
|
base::FilePath* relative_path,
|
||||||
|
|
|
@ -20,9 +20,6 @@ struct IntegrityPayload;
|
||||||
// Gets or creates and caches a new Archive from the path.
|
// Gets or creates and caches a new Archive from the path.
|
||||||
std::shared_ptr<Archive> GetOrCreateAsarArchive(const base::FilePath& path);
|
std::shared_ptr<Archive> GetOrCreateAsarArchive(const base::FilePath& path);
|
||||||
|
|
||||||
// Destroy cached Archive objects.
|
|
||||||
void ClearArchives();
|
|
||||||
|
|
||||||
// Separates the path to Archive out.
|
// Separates the path to Archive out.
|
||||||
bool GetAsarArchivePath(const base::FilePath& full_path,
|
bool GetAsarArchivePath(const base::FilePath& full_path,
|
||||||
base::FilePath* asar_path,
|
base::FilePath* asar_path,
|
||||||
|
|
Loading…
Reference in a new issue