Name Description Size Coverage
FileSystemDatabaseManager.cpp static 2630 71 %
FileSystemDatabaseManager.h @brief Updates stored usage data for all tracked files. @return nsresult error code 7764 100 %
FileSystemDatabaseManagerVersion001.cpp 54909 85 %
FileSystemDatabaseManagerVersion001.h @brief Versioned implementation of database interface enables backwards support after the schema has changed. Version number 0 refers to uninitialized database, and versions after that are sequential upgrades. To change the schema to the next version x, - a new implementation FileSystemDatabaseManagerVersion00x is derived from the previous version and the required methods are overridden - a new apppropriate schema initialization class SchemaVersion00x is created or derived - the factory method of FileSystemDatabaseManager is extended to try to migrate the data from the previous version to version x, and to return FileSystemDatabaseManagerVersion00x implementation if the database version after the migrations is x - note that if the migration fails at some old version, the corresponding old implementation should be returned: this way the users whose migrations fail systematically due to hardware or other issues will not get locked out 8280 100 %
FileSystemDatabaseManagerVersion002.cpp Column 32497 91 %
FileSystemDatabaseManagerVersion002.h Static to allow use by quota client without instantiation 3029 100 %
FileSystemDataManager.cpp 26690 85 %
FileSystemDataManager.h IsExclusive 6016 100 %
FileSystemFileManager.cpp recursive 11817 93 %
FileSystemFileManager.h @brief Get the directory for file system items of specified origin. Use this instead of constructing the path from quota manager's storage path. @param aOrigin Specified origin @return Result<nsCOMPtr<nsIFile>, QMResult> Top file system directory 6058 -
moz.build 677 -
SchemaVersion001.cpp 5842 99 %
SchemaVersion001.h 938 -
SchemaVersion002.cpp Column 20830 83 %
SchemaVersion002.h 778 -