Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Unified Diff: Source/WebCore/Modules/indexeddb/IDBBackingStore.h

Issue 12549003: Merge 144323 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/WebCore/Modules/indexeddb/IDBBackingStore.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/Modules/indexeddb/IDBBackingStore.h
===================================================================
--- Source/WebCore/Modules/indexeddb/IDBBackingStore.h (revision 144946)
+++ Source/WebCore/Modules/indexeddb/IDBBackingStore.h (working copy)
@@ -44,12 +44,19 @@
class IDBKeyRange;
class SecurityOrigin;
+class LevelDBFactory {
+public:
+ virtual PassOwnPtr<LevelDBDatabase> openLevelDB(const String& fileName, const LevelDBComparator*) = 0;
+ virtual bool destroyLevelDB(const String& fileName) = 0;
+};
+
class IDBBackingStore : public RefCounted<IDBBackingStore> {
public:
class Transaction;
virtual ~IDBBackingStore();
static PassRefPtr<IDBBackingStore> open(SecurityOrigin*, const String& pathBase, const String& fileIdentifier, IDBFactoryBackendImpl*);
+ static PassRefPtr<IDBBackingStore> open(SecurityOrigin*, const String& pathBase, const String& fileIdentifier, IDBFactoryBackendImpl*, LevelDBFactory*);
virtual Vector<String> getDatabaseNames();
virtual bool getIDBDatabaseMetaData(const String& name, IDBDatabaseMetadata*, bool& success) WARN_UNUSED_RETURN;
« no previous file with comments | « no previous file | Source/WebCore/Modules/indexeddb/IDBBackingStore.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698