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

Unified Diff: content/browser/in_process_webkit/indexed_db_callbacks.cc

Issue 7470008: Improve IndexedDB's quota support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: style problems Created 9 years, 5 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: content/browser/in_process_webkit/indexed_db_callbacks.cc
diff --git a/content/browser/in_process_webkit/indexed_db_callbacks.cc b/content/browser/in_process_webkit/indexed_db_callbacks.cc
index 7e153a18044c9d4a77ee8d82d96247d9a8510dae..0d0d1c0cda061838c5112798aba075b50749f2e5 100644
--- a/content/browser/in_process_webkit/indexed_db_callbacks.cc
+++ b/content/browser/in_process_webkit/indexed_db_callbacks.cc
@@ -37,6 +37,14 @@ void IndexedDBCallbacks<WebKit::WebIDBDatabase>::onSuccess(
new IndexedDBMsg_CallbacksSuccessIDBDatabase(response_id(), object_id));
}
+void IndexedDBCallbacks<WebKit::WebIDBTransaction>::onSuccess(
+ WebKit::WebIDBTransaction* idb_object) {
+ int32 object_id = dispatcher_host()->Add(idb_object, origin_url());
+ dispatcher_host()->Send(
+ new IndexedDBMsg_CallbacksSuccessIDBTransaction(response_id(),
+ object_id));
+}
+
void IndexedDBCallbacks<WebKit::WebIDBCursor>::onSuccess(
WebKit::WebIDBCursor* idb_object) {
int32 object_id = dispatcher_host()->Add(idb_object);

Powered by Google App Engine
This is Rietveld 408576698