OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_ |
6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <set> | 11 #include <set> |
10 #include <string> | 12 #include <string> |
11 | 13 |
12 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 15 #include "base/macros.h" |
13 #include "content/browser/indexed_db/indexed_db_factory.h" | 16 #include "content/browser/indexed_db/indexed_db_factory.h" |
14 | 17 |
15 namespace content { | 18 namespace content { |
16 | 19 |
17 class IndexedDBContextImpl; | 20 class IndexedDBContextImpl; |
18 | 21 |
19 class CONTENT_EXPORT IndexedDBFactoryImpl : public IndexedDBFactory { | 22 class CONTENT_EXPORT IndexedDBFactoryImpl : public IndexedDBFactory { |
20 public: | 23 public: |
21 explicit IndexedDBFactoryImpl(IndexedDBContextImpl* context); | 24 explicit IndexedDBFactoryImpl(IndexedDBContextImpl* context); |
22 | 25 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 std::set<scoped_refptr<IndexedDBBackingStore> > session_only_backing_stores_; | 131 std::set<scoped_refptr<IndexedDBBackingStore> > session_only_backing_stores_; |
129 IndexedDBBackingStoreMap backing_stores_with_active_blobs_; | 132 IndexedDBBackingStoreMap backing_stores_with_active_blobs_; |
130 std::set<GURL> backends_opened_since_boot_; | 133 std::set<GURL> backends_opened_since_boot_; |
131 | 134 |
132 DISALLOW_COPY_AND_ASSIGN(IndexedDBFactoryImpl); | 135 DISALLOW_COPY_AND_ASSIGN(IndexedDBFactoryImpl); |
133 }; | 136 }; |
134 | 137 |
135 } // namespace content | 138 } // namespace content |
136 | 139 |
137 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_ | 140 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_ |
OLD | NEW |