Index: content/browser/indexed_db/indexed_db_transaction.h |
diff --git a/content/browser/indexed_db/indexed_db_transaction.h b/content/browser/indexed_db/indexed_db_transaction.h |
index c1a20d561694f15be9fec3aee777ae26d962a40c..70160e15329b826368e364f16e838bf66f8edd3a 100644 |
--- a/content/browser/indexed_db/indexed_db_transaction.h |
+++ b/content/browser/indexed_db/indexed_db_transaction.h |
@@ -13,7 +13,6 @@ |
#include "base/basictypes.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
-#include "base/timer/timer.h" |
#include "content/browser/indexed_db/indexed_db_backing_store.h" |
#include "content/browser/indexed_db/indexed_db_database.h" |
#include "content/browser/indexed_db/indexed_db_database_error.h" |
@@ -97,7 +96,7 @@ class IndexedDBTransaction : public base::RefCounted<IndexedDBTransaction> { |
bool IsTaskQueueEmpty() const; |
bool HasPendingTasks() const; |
- void TaskTimerFired(); |
+ void ProcessTaskQueue(); |
void CloseOpenCursors(); |
const int64 id_; |
@@ -141,7 +140,7 @@ class IndexedDBTransaction : public base::RefCounted<IndexedDBTransaction> { |
IndexedDBBackingStore::Transaction transaction_; |
- base::OneShotTimer<IndexedDBTransaction> task_timer_; |
+ bool should_process_queue_; |
int pending_preemptive_events_; |
std::set<IndexedDBCursor*> open_cursors_; |