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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBFactory.h

Issue 2642943002: Allow closing IndexedDB database before deleting (Closed)
Patch Set: Actually pass the flag Created 3 years, 11 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
Index: third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
index 6b5032882a88b51e86126e0a04c116f3ed403d52..e7386cc310738025d7938a35d9c2b8def2e19586 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
@@ -57,6 +57,12 @@ class IDBFactory final : public GarbageCollected<IDBFactory>,
const String& name,
ExceptionState&);
+ // This is currently not exposed to the web applications and is only used by
+ // the DevTools.
+ IDBOpenDBRequest* closeConnectionsAndDeleteDatabase(ScriptState*,
+ const String& name,
+ ExceptionState&);
+
short cmp(ScriptState*,
const ScriptValue& first,
const ScriptValue& second,
@@ -69,6 +75,11 @@ class IDBFactory final : public GarbageCollected<IDBFactory>,
const String& name,
int64_t version,
ExceptionState&);
+
+ IDBOpenDBRequest* deleteDatabaseInternal(ScriptState*,
+ const String& name,
+ ExceptionState&,
+ bool);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698