| 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> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
| 17 #include "content/browser/indexed_db/indexed_db_backing_store.h" | 17 #include "content/browser/indexed_db/indexed_db_backing_store.h" |
| 18 #include "content/browser/indexed_db/indexed_db_database.h" | 18 #include "content/browser/indexed_db/indexed_db_database.h" |
| 19 #include "content/browser/indexed_db/indexed_db_database_error.h" | 19 #include "content/browser/indexed_db/indexed_db_database_error.h" |
| 20 #include "third_party/WebKit/public/platform/WebIDBTypes.h" | 20 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h" |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| 23 | 23 |
| 24 class BlobWriteCallbackImpl; | 24 class BlobWriteCallbackImpl; |
| 25 class IndexedDBCursor; | 25 class IndexedDBCursor; |
| 26 class IndexedDBDatabaseCallbacks; | 26 class IndexedDBDatabaseCallbacks; |
| 27 | 27 |
| 28 class CONTENT_EXPORT IndexedDBTransaction | 28 class CONTENT_EXPORT IndexedDBTransaction |
| 29 : public NON_EXPORTED_BASE(base::RefCounted<IndexedDBTransaction>) { | 29 : public NON_EXPORTED_BASE(base::RefCounted<IndexedDBTransaction>) { |
| 30 public: | 30 public: |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 // requests are processed before the timer fires, assume the script is | 168 // requests are processed before the timer fires, assume the script is |
| 169 // unresponsive and abort to unblock the transaction queue. | 169 // unresponsive and abort to unblock the transaction queue. |
| 170 base::OneShotTimer<IndexedDBTransaction> timeout_timer_; | 170 base::OneShotTimer<IndexedDBTransaction> timeout_timer_; |
| 171 | 171 |
| 172 Diagnostics diagnostics_; | 172 Diagnostics diagnostics_; |
| 173 }; | 173 }; |
| 174 | 174 |
| 175 } // namespace content | 175 } // namespace content |
| 176 | 176 |
| 177 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRANSACTION_H_ | 177 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRANSACTION_H_ |
| OLD | NEW |