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

Unified Diff: content/browser/indexed_db/indexed_db_database.h

Issue 475063004: IndexedDB + Coding Style: re-order enums/typedefs/... to match guide (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased after r291485 Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
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 4025eb4f57ab79044a7dbb72376f91b50661de47..bcde7190c503bc495e4206f3252a51225424892c 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 PendingDeleteCall;
+ class PendingSuccessCall;
+ class PendingUpgradeCall;
+
+ 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);
« no previous file with comments | « content/browser/indexed_db/indexed_db_context_impl.h ('k') | content/browser/indexed_db/indexed_db_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698