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

Unified Diff: content/common/indexed_db/indexed_db_dispatcher.h

Issue 11114022: IndexedDB: Plumbing to allow cause of transaction abort to be passed to script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/common/indexed_db/indexed_db_dispatcher.h
diff --git a/content/common/indexed_db/indexed_db_dispatcher.h b/content/common/indexed_db/indexed_db_dispatcher.h
index 569658a8365aac4d5c9428d9d4ca425cb5296f58..e9adb14e6d82cae7b2c1fe757dc6886ac01163c6 100644
--- a/content/common/indexed_db/indexed_db_dispatcher.h
+++ b/content/common/indexed_db/indexed_db_dispatcher.h
@@ -256,7 +256,12 @@ class CONTENT_EXPORT IndexedDBDispatcher
int32 transaction_id,
int32 database_id,
int64 old_version);
- void OnAbort(int32 thread_id, int32 transaction_id);
+ // TODO(jsbell): Remove once WK99097 has landed.
+ void OnAbortLegacy(int32 thread_id, int32 transaction_id);
+ void OnAbort(int32 thread_id,
+ int32 transaction_id,
+ int code,
+ const string16& message);
void OnComplete(int32 thread_id, int32 transaction_id);
void OnForcedClose(int32 thread_id, int32 database_id);
void OnVersionChange(int32 thread_id,

Powered by Google App Engine
This is Rietveld 408576698