Implement persistent localStorage with the new DOM storage backend (issue #603).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@704 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2012-06-22 14:56:07 +00:00
parent 1f42df1b61
commit a6aded4716
4 changed files with 48 additions and 2 deletions

View File

@ -100,6 +100,10 @@ void CefProcessUIThread::Init() {
PlatformInit();
// Initialize the blocking pool.
blocking_pool_ = new base::SequencedWorkerPool(3, "BrowserBlocking");
_Context->set_blocking_pool(blocking_pool_.get());
// Initialize WebKit.
webkit_init_ = new BrowserWebKitInit();
@ -194,6 +198,11 @@ void CefProcessUIThread::CleanUp() {
net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this);
network_change_notifier_.reset();
// Shut down the blocking pool.
_Context->set_blocking_pool(NULL);
blocking_pool_->Shutdown();
blocking_pool_ = NULL;
PlatformCleanUp();
_Context->CleanupResourceBundle();