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

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: Restore CONTENT_EXPORT to Transaction 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 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);

Powered by Google App Engine
This is Rietveld 408576698