FileSystemDatabaseManager.cpp |
static |
2751 |
FileSystemDatabaseManager.h |
@brief Updates stored usage data for all tracked files.
@return nsresult error code
|
7713 |
FileSystemDatabaseManagerVersion001.cpp |
|
53176 |
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
|
8322 |
FileSystemDatabaseManagerVersion002.cpp |
Column |
29248 |
FileSystemDatabaseManagerVersion002.h |
Static to allow use by quota client without instantiation |
2962 |
FileSystemDataManager.cpp |
|
24684 |
FileSystemDataManager.h |
IsExclusive |
5770 |
FileSystemFileManager.cpp |
recursive |
11995 |
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
|
6179 |
moz.build |
|
766 |
SchemaVersion001.cpp |
|
5963 |
SchemaVersion001.h |
|
1059 |
SchemaVersion002.cpp |
Column |
20951 |
SchemaVersion002.h |
|
899 |