Chromium Code Reviews| Index: content/browser/indexed_db/indexed_db_database.h |
| diff --git a/content/browser/indexed_db/indexed_db_database.h b/content/browser/indexed_db/indexed_db_database.h |
| index a4f9e7858592c6d5684cb5a1c67a08d109d37c96..9dd518bce0c07d59ed844384db1a328913468922 100644 |
| --- a/content/browser/indexed_db/indexed_db_database.h |
| +++ b/content/browser/indexed_db/indexed_db_database.h |
| @@ -224,6 +224,15 @@ class CONTENT_EXPORT IndexedDBDatabase |
| private: |
| friend class base::RefCounted<IndexedDBDatabase>; |
| + class PendingUpgradeCall; |
| + class PendingSuccessCall; |
| + class PendingDeleteCall; |
|
cmumford
2014/08/20 19:43:05
Should these be in alphabetical order?
jsbell
2014/08/22 20:50:01
Done.
|
| + |
| + typedef std::map<int64, IndexedDBTransaction*> TransactionMap; |
| + typedef std::list<IndexedDBPendingConnection> PendingOpenCallList; |
| + typedef std::list<PendingDeleteCall*> PendingDeleteCallList; |
| + typedef list_set<IndexedDBConnection*> ConnectionSet; |
| + |
| IndexedDBDatabase(const base::string16& name, |
| IndexedDBBackingStore* backing_store, |
| IndexedDBFactory* factory, |
| @@ -268,22 +277,12 @@ class CONTENT_EXPORT IndexedDBDatabase |
| IndexedDBTransactionCoordinator transaction_coordinator_; |
| - typedef std::map<int64, IndexedDBTransaction*> TransactionMap; |
| TransactionMap transactions_; |
| - |
| - typedef std::list<IndexedDBPendingConnection> PendingOpenCallList; |
| PendingOpenCallList pending_open_calls_; |
| - |
| - class PendingUpgradeCall; |
| scoped_ptr<PendingUpgradeCall> pending_run_version_change_transaction_call_; |
| - class PendingSuccessCall; |
| scoped_ptr<PendingSuccessCall> pending_second_half_open_; |
| - |
| - class PendingDeleteCall; |
| - typedef std::list<PendingDeleteCall*> PendingDeleteCallList; |
| PendingDeleteCallList pending_delete_calls_; |
| - typedef list_set<IndexedDBConnection*> ConnectionSet; |
| ConnectionSet connections_; |
| DISALLOW_COPY_AND_ASSIGN(IndexedDBDatabase); |