diff options
Diffstat (limited to 'WebCore/storage/StorageAreaSync.h')
-rw-r--r-- | WebCore/storage/StorageAreaSync.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/storage/StorageAreaSync.h b/WebCore/storage/StorageAreaSync.h index 0e46763..d26d399 100644 --- a/WebCore/storage/StorageAreaSync.h +++ b/WebCore/storage/StorageAreaSync.h @@ -75,7 +75,13 @@ namespace WebCore { void performSync(); private: + enum OpenDatabaseParamType { + CreateIfNonExistent, + SkipIfNonExistent + }; + void syncTimerFired(Timer<StorageAreaSync>*); + void openDatabase(OpenDatabaseParamType openingStrategy); void sync(bool clearItems, const HashMap<String, String>& items); const String m_databaseIdentifier; @@ -85,6 +91,7 @@ namespace WebCore { bool m_clearItemsWhileSyncing; bool m_syncScheduled; bool m_syncInProgress; + bool m_databaseOpenFailed; mutable Mutex m_importLock; mutable ThreadCondition m_importCondition; |