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

Side by Side Diff: content/browser/indexed_db/indexed_db_transaction.h

Issue 18241003: IndexedDB: Remove IndexedDBCallbacksWrapper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include/Forward Declare tidying Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.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 20
21 namespace content { 21 namespace content {
22 22
23 class IndexedDBDatabase;
24 class IndexedDBCursor; 23 class IndexedDBCursor;
25 class IndexedDBDatabaseCallbacks; 24 class IndexedDBDatabaseCallbacks;
26 25
27 class IndexedDBTransaction : public base::RefCounted<IndexedDBTransaction> { 26 class IndexedDBTransaction : public base::RefCounted<IndexedDBTransaction> {
28 public: 27 public:
29 static scoped_refptr<IndexedDBTransaction> Create( 28 static scoped_refptr<IndexedDBTransaction> Create(
30 int64 transaction_id, 29 int64 transaction_id,
31 scoped_refptr<IndexedDBDatabaseCallbacks> callbacks, 30 scoped_refptr<IndexedDBDatabaseCallbacks> callbacks,
32 const std::vector<int64>& scope, 31 const std::vector<int64>& scope,
33 indexed_db::TransactionMode, 32 indexed_db::TransactionMode,
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 146
148 base::OneShotTimer<IndexedDBTransaction> task_timer_; 147 base::OneShotTimer<IndexedDBTransaction> task_timer_;
149 int pending_preemptive_events_; 148 int pending_preemptive_events_;
150 149
151 std::set<IndexedDBCursor*> open_cursors_; 150 std::set<IndexedDBCursor*> open_cursors_;
152 }; 151 };
153 152
154 } // namespace content 153 } // namespace content
155 154
156 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRANSACTION_H_ 155 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_TRANSACTION_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_index_writer.h ('k') | content/browser/indexed_db/webidbdatabase_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698