summaryrefslogtreecommitdiffstats
path: root/WebCore/storage/DatabaseTracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/storage/DatabaseTracker.h')
-rw-r--r--WebCore/storage/DatabaseTracker.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/storage/DatabaseTracker.h b/WebCore/storage/DatabaseTracker.h
index fdfbb65..223d4f2 100644
--- a/WebCore/storage/DatabaseTracker.h
+++ b/WebCore/storage/DatabaseTracker.h
@@ -58,6 +58,7 @@ struct SecurityOriginTraits;
class DatabaseTracker : public Noncopyable {
public:
+ static void initializeTracker(const String& databasePath);
static DatabaseTracker& tracker();
// This singleton will potentially be used from multiple worker threads and the page's context thread simultaneously. To keep this safe, it's
// currently using 4 locks. In order to avoid deadlock when taking multiple locks, you must take them in the correct order:
@@ -77,7 +78,7 @@ public:
void databaseChanged(Database*);
private:
- DatabaseTracker();
+ DatabaseTracker(const String& databasePath);
typedef HashSet<Database*> DatabaseSet;
typedef HashMap<String, DatabaseSet*> DatabaseNameMap;