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> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 // content::IndexedDBFactory overrides: | 30 // content::IndexedDBFactory overrides: |
31 void ReleaseDatabase(const IndexedDBDatabase::Identifier& identifier, | 31 void ReleaseDatabase(const IndexedDBDatabase::Identifier& identifier, |
32 bool forced_close) override; | 32 bool forced_close) override; |
33 | 33 |
34 void GetDatabaseNames(scoped_refptr<IndexedDBCallbacks> callbacks, | 34 void GetDatabaseNames(scoped_refptr<IndexedDBCallbacks> callbacks, |
35 const url::Origin& origin, | 35 const url::Origin& origin, |
36 const base::FilePath& data_directory, | 36 const base::FilePath& data_directory, |
37 net::URLRequestContext* request_context) override; | 37 net::URLRequestContext* request_context) override; |
38 void Open(const base::string16& name, | 38 void Open(const base::string16& name, |
39 const IndexedDBPendingConnection& connection, | 39 std::unique_ptr<IndexedDBPendingConnection> connection, |
40 net::URLRequestContext* request_context, | 40 net::URLRequestContext* request_context, |
41 const url::Origin& origin, | 41 const url::Origin& origin, |
42 const base::FilePath& data_directory) override; | 42 const base::FilePath& data_directory) override; |
43 | 43 |
44 void DeleteDatabase(const base::string16& name, | 44 void DeleteDatabase(const base::string16& name, |
45 net::URLRequestContext* request_context, | 45 net::URLRequestContext* request_context, |
46 scoped_refptr<IndexedDBCallbacks> callbacks, | 46 scoped_refptr<IndexedDBCallbacks> callbacks, |
47 const url::Origin& origin, | 47 const url::Origin& origin, |
48 const base::FilePath& data_directory) override; | 48 const base::FilePath& data_directory) override; |
49 | 49 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 std::map<url::Origin, scoped_refptr<IndexedDBBackingStore>> | 131 std::map<url::Origin, scoped_refptr<IndexedDBBackingStore>> |
132 backing_stores_with_active_blobs_; | 132 backing_stores_with_active_blobs_; |
133 std::set<url::Origin> backends_opened_since_boot_; | 133 std::set<url::Origin> backends_opened_since_boot_; |
134 | 134 |
135 DISALLOW_COPY_AND_ASSIGN(IndexedDBFactoryImpl); | 135 DISALLOW_COPY_AND_ASSIGN(IndexedDBFactoryImpl); |
136 }; | 136 }; |
137 | 137 |
138 } // namespace content | 138 } // namespace content |
139 | 139 |
140 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_ | 140 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_ |
OLD | NEW |