Chromium Code Reviews| 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 30 matching lines...) Expand all Loading... | |
| 41 std::unique_ptr<IndexedDBPendingConnection> connection, | 41 std::unique_ptr<IndexedDBPendingConnection> connection, |
| 42 scoped_refptr<net::URLRequestContextGetter> request_context_getter, | 42 scoped_refptr<net::URLRequestContextGetter> request_context_getter, |
| 43 const url::Origin& origin, | 43 const url::Origin& origin, |
| 44 const base::FilePath& data_directory) override; | 44 const base::FilePath& data_directory) override; |
| 45 | 45 |
| 46 void DeleteDatabase( | 46 void DeleteDatabase( |
| 47 const base::string16& name, | 47 const base::string16& name, |
| 48 scoped_refptr<net::URLRequestContextGetter> request_context_getter, | 48 scoped_refptr<net::URLRequestContextGetter> request_context_getter, |
| 49 scoped_refptr<IndexedDBCallbacks> callbacks, | 49 scoped_refptr<IndexedDBCallbacks> callbacks, |
| 50 const url::Origin& origin, | 50 const url::Origin& origin, |
| 51 const base::FilePath& data_directory) override; | 51 const base::FilePath& data_directory, |
| 52 bool forced_close) override; | |
|
jsbell
2017/01/20 19:34:25
nit: it's 'force_close' (no 'd') elsewhere
eostroukhov
2017/01/20 19:45:25
Done.
| |
| 52 | 53 |
| 53 void HandleBackingStoreFailure(const url::Origin& origin) override; | 54 void HandleBackingStoreFailure(const url::Origin& origin) override; |
| 54 void HandleBackingStoreCorruption( | 55 void HandleBackingStoreCorruption( |
| 55 const url::Origin& origin, | 56 const url::Origin& origin, |
| 56 const IndexedDBDatabaseError& error) override; | 57 const IndexedDBDatabaseError& error) override; |
| 57 | 58 |
| 58 OriginDBs GetOpenDatabasesForOrigin(const url::Origin& origin) const override; | 59 OriginDBs GetOpenDatabasesForOrigin(const url::Origin& origin) const override; |
| 59 | 60 |
| 60 void ForceClose(const url::Origin& origin) override; | 61 void ForceClose(const url::Origin& origin) override; |
| 61 | 62 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 134 std::map<url::Origin, scoped_refptr<IndexedDBBackingStore>> | 135 std::map<url::Origin, scoped_refptr<IndexedDBBackingStore>> |
| 135 backing_stores_with_active_blobs_; | 136 backing_stores_with_active_blobs_; |
| 136 std::set<url::Origin> backends_opened_since_boot_; | 137 std::set<url::Origin> backends_opened_since_boot_; |
| 137 | 138 |
| 138 DISALLOW_COPY_AND_ASSIGN(IndexedDBFactoryImpl); | 139 DISALLOW_COPY_AND_ASSIGN(IndexedDBFactoryImpl); |
| 139 }; | 140 }; |
| 140 | 141 |
| 141 } // namespace content | 142 } // namespace content |
| 142 | 143 |
| 143 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_ | 144 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_ |
| OLD | NEW |