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

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

Issue 2642943002: Allow closing IndexedDB database before deleting (Closed)
Patch Set: Fixed compilation errors in tests 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..7d17b595fc4c6d3358d09221df7d9c93d84d67d7 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.h
@@ -57,6 +57,10 @@ class IDBFactory final : public GarbageCollected<IDBFactory>,
const String& name,
ExceptionState&);
+ IDBOpenDBRequest* closeConnectionsAndDeleteDatabase(ScriptState*,
cmumford 2017/01/19 20:47:16 I don't know much about DevTools, but do you need
eostroukhov 2017/01/20 18:43:18 Devtools are calling on C++ side (e.g. https://cs.
+ const String& name,
+ ExceptionState&);
+
short cmp(ScriptState*,
const ScriptValue& first,
const ScriptValue& second,
@@ -69,6 +73,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