| 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 ad5c03e79102e99a48dd11d08be61be749d8bd5e..db6640420c9ff8af67562ac934c44ad8cfa8b6a5 100644
|
| --- a/content/browser/indexed_db/indexed_db_transaction.h
|
| +++ b/content/browser/indexed_db/indexed_db_transaction.h
|
| @@ -7,10 +7,12 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <map>
|
| #include <memory>
|
| #include <queue>
|
| #include <set>
|
| #include <stack>
|
| +#include <vector>
|
|
|
| #include "base/gtest_prod_util.h"
|
| #include "base/macros.h"
|
| @@ -28,7 +30,7 @@ namespace content {
|
|
|
| class BlobWriteCallbackImpl;
|
| class IndexedDBCursor;
|
| -class IndexedDBDatabaseCallbacks;
|
| +class IndexedDBChangeHandler;
|
| class IndexedDBObservation;
|
| class IndexedDBObserverChanges;
|
|
|
| @@ -86,7 +88,9 @@ class CONTENT_EXPORT IndexedDBTransaction
|
| int64_t id() const { return id_; }
|
|
|
| IndexedDBDatabase* database() const { return database_.get(); }
|
| - IndexedDBDatabaseCallbacks* callbacks() const { return callbacks_.get(); }
|
| + IndexedDBChangeHandler* change_handler() const {
|
| + return change_handler_.get();
|
| + }
|
| IndexedDBConnection* connection() const { return connection_.get(); }
|
|
|
| State state() const { return state_; }
|
| @@ -149,7 +153,7 @@ class CONTENT_EXPORT IndexedDBTransaction
|
| State state_;
|
| bool commit_pending_;
|
| base::WeakPtr<IndexedDBConnection> connection_;
|
| - scoped_refptr<IndexedDBDatabaseCallbacks> callbacks_;
|
| + scoped_refptr<IndexedDBChangeHandler> change_handler_;
|
| scoped_refptr<IndexedDBDatabase> database_;
|
|
|
| // Observers in pending queue do not listen to changes until activated.
|
|
|