Name Description Size Coverage
FileSystemDatabaseManager.cpp static 2630 70 %
FileSystemDatabaseManager.h @brief Updates stored usage data for all tracked files. @return nsresult error code 7764 100 %
FileSystemDatabaseManagerVersion001.cpp 55013 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 8270 100 %
FileSystemDatabaseManagerVersion002.cpp Column 33019 94 %
FileSystemDatabaseManagerVersion002.h Static to allow use by quota client without instantiation 3029 100 %
FileSystemDataManager.cpp 28111 91 %
FileSystemDataManager.h IsExclusive 6741 100 %
FileSystemFileManager.cpp recursive 12385 94 %
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 6251 -
moz.build 908 -
SchemaVersion001.cpp 5842 99 %
SchemaVersion001.h 938 -
SchemaVersion002.cpp Column 20830 61 %
SchemaVersion002.h 778 -