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

Unified Diff: content/browser/indexed_db/indexed_db_factory_impl.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_factory_impl.h
diff --git a/content/browser/indexed_db/indexed_db_factory_impl.h b/content/browser/indexed_db/indexed_db_factory_impl.h
index 23a9350ac853dcbfa4d45233da40280833ea764a..aaa13bc7dffd54d48b10b547d5876f3b95bc2615 100644
--- a/content/browser/indexed_db/indexed_db_factory_impl.h
+++ b/content/browser/indexed_db/indexed_db_factory_impl.h
@@ -104,6 +104,11 @@ class CONTENT_EXPORT IndexedDBFactoryImpl : public IndexedDBFactory {
FRIEND_TEST_ALL_PREFIXES(IndexedDBTest,
ForceCloseOpenDatabasesOnCommitFailure);
+ typedef std::map<IndexedDBDatabase::Identifier, IndexedDBDatabase*>
+ IndexedDBDatabaseMap;
+ typedef std::map<GURL, scoped_refptr<IndexedDBBackingStore> >
+ IndexedDBBackingStoreMap;
+
// Called internally after a database is closed, with some delay. If this
// factory has the last reference, it will be released.
void MaybeCloseBackingStore(const GURL& origin_url);
@@ -117,13 +122,8 @@ class CONTENT_EXPORT IndexedDBFactoryImpl : public IndexedDBFactory {
IndexedDBContextImpl* context_;
- typedef std::map<IndexedDBDatabase::Identifier, IndexedDBDatabase*>
- IndexedDBDatabaseMap;
IndexedDBDatabaseMap database_map_;
OriginDBMap origin_dbs_;
-
- typedef std::map<GURL, scoped_refptr<IndexedDBBackingStore> >
- IndexedDBBackingStoreMap;
IndexedDBBackingStoreMap backing_store_map_;
std::set<scoped_refptr<IndexedDBBackingStore> > session_only_backing_stores_;

Powered by Google App Engine
This is Rietveld 408576698