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

Unified Diff: content/browser/indexed_db/indexed_db_transaction.cc

Issue 2784003002: [IndexedDB] Mojo testing harness. (Closed)
Patch Set: comments Created 3 years, 7 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/indexed_db/indexed_db_transaction.cc
diff --git a/content/browser/indexed_db/indexed_db_transaction.cc b/content/browser/indexed_db/indexed_db_transaction.cc
index 904a284651a5220be85d53d13c6958292ac8756c..7b6118a35fc0f7d4b0e331adf3f20f69b2caeec2 100644
--- a/content/browser/indexed_db/indexed_db_transaction.cc
+++ b/content/browser/indexed_db/indexed_db_transaction.cc
@@ -288,7 +288,6 @@ leveldb::Status IndexedDBTransaction::Commit() {
IDB_TRACE1("IndexedDBTransaction::Commit", "txn.id", id());
timeout_timer_.Stop();
-
// In multiprocess ports, front-end may have requested a commit but
// an abort has already been initiated asynchronously by the
// back-end.
@@ -474,6 +473,7 @@ base::TimeDelta IndexedDBTransaction::GetInactivityTimeout() const {
}
void IndexedDBTransaction::Timeout() {
+ LOG(ERROR) << "timout";
Ken Rockot(use gerrit already) 2017/05/16 21:06:32 nit: remove
dmurph 2017/05/16 23:06:44 Done.
Abort(IndexedDBDatabaseError(
blink::kWebIDBDatabaseExceptionTimeoutError,
base::ASCIIToUTF16("Transaction timed out due to inactivity.")));

Powered by Google App Engine
This is Rietveld 408576698