OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_H_ |
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
15 #include "base/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "content/browser/indexed_db/indexed_db_callbacks_wrapper.h" | 16 #include "content/browser/indexed_db/indexed_db_callbacks_wrapper.h" |
17 #include "content/browser/indexed_db/indexed_db_database_callbacks_wrapper.h" | 17 #include "content/browser/indexed_db/indexed_db_database_callbacks_wrapper.h" |
18 #include "content/browser/indexed_db/indexed_db_factory.h" | 18 #include "content/browser/indexed_db/indexed_db_factory.h" |
19 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
20 | 20 |
21 namespace content { | 21 namespace content { |
22 | 22 |
23 class IndexedDBBackingStore; | 23 class IndexedDBBackingStore; |
24 class IndexedDBDatabase; | 24 class IndexedDBDatabase; |
25 | 25 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 typedef std::map<string16, base::WeakPtr<IndexedDBBackingStore> > | 67 typedef std::map<string16, base::WeakPtr<IndexedDBBackingStore> > |
68 IndexedDBBackingStoreMap; | 68 IndexedDBBackingStoreMap; |
69 IndexedDBBackingStoreMap backing_store_map_; | 69 IndexedDBBackingStoreMap backing_store_map_; |
70 | 70 |
71 std::set<scoped_refptr<IndexedDBBackingStore> > session_only_backing_stores_; | 71 std::set<scoped_refptr<IndexedDBBackingStore> > session_only_backing_stores_; |
72 }; | 72 }; |
73 | 73 |
74 } // namespace content | 74 } // namespace content |
75 | 75 |
76 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_H_ | 76 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_H_ |
OLD | NEW |