OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRANSACTION_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRANSACTION_H_ |
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRANSACTION_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRANSACTION_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 #include <stack> | 10 #include <stack> |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 bool backing_store_transaction_begun_; | 168 bool backing_store_transaction_begun_; |
169 | 169 |
170 bool should_process_queue_; | 170 bool should_process_queue_; |
171 int pending_preemptive_events_; | 171 int pending_preemptive_events_; |
172 | 172 |
173 std::set<IndexedDBCursor*> open_cursors_; | 173 std::set<IndexedDBCursor*> open_cursors_; |
174 | 174 |
175 // This timer is started after requests have been processed. If no subsequent | 175 // This timer is started after requests have been processed. If no subsequent |
176 // requests are processed before the timer fires, assume the script is | 176 // requests are processed before the timer fires, assume the script is |
177 // unresponsive and abort to unblock the transaction queue. | 177 // unresponsive and abort to unblock the transaction queue. |
178 base::OneShotTimer<IndexedDBTransaction> timeout_timer_; | 178 base::OneShotTimer timeout_timer_; |
179 | 179 |
180 Diagnostics diagnostics_; | 180 Diagnostics diagnostics_; |
181 }; | 181 }; |
182 | 182 |
183 } // namespace content | 183 } // namespace content |
184 | 184 |
185 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRANSACTION_H_ | 185 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRANSACTION_H_ |
OLD | NEW |