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 9190da10c617e640f88b456054a5bcd78bdbf782..837a9311c073f691ee2f50344202792311ed73d8 100644 |
--- a/content/browser/indexed_db/indexed_db_factory_impl.h |
+++ b/content/browser/indexed_db/indexed_db_factory_impl.h |
@@ -32,8 +32,7 @@ class CONTENT_EXPORT IndexedDBFactoryImpl : public IndexedDBFactory { |
void ReleaseDatabase(const IndexedDBDatabase::Identifier& identifier, |
bool forced_close) override; |
- void GetDatabaseNames(scoped_refptr<IndexedDBCallbacks> callbacks, |
- const url::Origin& origin, |
+ void GetDatabaseNames(const url::Origin& origin, |
const base::FilePath& data_directory, |
scoped_refptr<net::URLRequestContextGetter> |
request_context_getter) override; |
@@ -46,7 +45,7 @@ class CONTENT_EXPORT IndexedDBFactoryImpl : public IndexedDBFactory { |
void DeleteDatabase( |
const base::string16& name, |
scoped_refptr<net::URLRequestContextGetter> request_context_getter, |
- scoped_refptr<IndexedDBCallbacks> callbacks, |
+ std::unique_ptr<IndexedDBPendingDelete> pending_delete, |
const url::Origin& origin, |
const base::FilePath& data_directory) override; |
@@ -72,6 +71,8 @@ class CONTENT_EXPORT IndexedDBFactoryImpl : public IndexedDBFactory { |
size_t GetConnectionCount(const url::Origin& origin) const override; |
+ IndexedDBContext* context() const override; |
+ |
protected: |
~IndexedDBFactoryImpl() override; |
@@ -94,7 +95,6 @@ class CONTENT_EXPORT IndexedDBFactoryImpl : public IndexedDBFactory { |
void ReleaseBackingStore(const url::Origin& origin, bool immediate); |
void CloseBackingStore(const url::Origin& origin); |
- IndexedDBContextImpl* context() const { return context_; } |
private: |
FRIEND_TEST_ALL_PREFIXES(IndexedDBFactoryTest, |