mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Eliminate use of scoped directories (issue #670).
- Create a temporary cache_path directory if none is specified (issue #735). git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@827 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "libcef/browser_database_system.h"
|
||||
#include "libcef/cef_context.h"
|
||||
|
||||
#include "base/auto_reset.h"
|
||||
#include "base/bind.h"
|
||||
@ -37,9 +38,8 @@ BrowserDatabaseSystem::BrowserDatabaseSystem()
|
||||
open_connections_(new webkit_database::DatabaseConnectionsWrapper) {
|
||||
DCHECK(!instance_);
|
||||
instance_ = this;
|
||||
CHECK(temp_dir_.CreateUniqueTempDir());
|
||||
db_tracker_ =
|
||||
new DatabaseTracker(temp_dir_.path(), false, NULL, NULL, NULL);
|
||||
new DatabaseTracker(_Context->cache_path(), false, NULL, NULL, NULL);
|
||||
db_tracker_->AddObserver(this);
|
||||
db_thread_.Start();
|
||||
db_thread_proxy_ = db_thread_.message_loop_proxy();
|
||||
|
Reference in New Issue
Block a user