mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Persist localStorage data across sessions when a cache path is specified (issue #139).
- Add a localStorage test to cefclient. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@140 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -187,6 +187,10 @@ FilePath BrowserDatabaseSystem::GetFullFilePathForVfsFile(
|
||||
return FilePath();
|
||||
|
||||
AutoLock file_names_auto_lock(file_names_lock_);
|
||||
DCHECK(file_names_.find(vfs_file_name) != file_names_.end());
|
||||
return file_names_[vfs_file_name];
|
||||
if(file_names_.find(vfs_file_name) != file_names_.end())
|
||||
return file_names_[vfs_file_name];
|
||||
|
||||
// This method is getting called when an empty localStorage database is
|
||||
// deleted. In that case, just return the path.
|
||||
return FilePath(vfs_file_name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user