Move GetAsarArchivePath to asar_util.h

This commit is contained in:
Cheng Zhao 2015-02-12 17:31:14 +08:00
parent 3b3a025ed4
commit 98a7f08be2
3 changed files with 31 additions and 30 deletions

View file

@ -18,6 +18,11 @@ class Archive;
// Gets or creates a new Archive from the path.
std::shared_ptr<Archive> GetOrCreateAsarArchive(const base::FilePath& path);
// Separates the path to Archive out.
bool GetAsarArchivePath(const base::FilePath& full_path,
base::FilePath* asar_path,
base::FilePath* relative_path);
} // namespace asar
#endif // ATOM_COMMON_ASAR_ASAR_UTIL_H_