| Index: content/browser/indexed_db/indexed_db_context_impl.cc
|
| diff --git a/content/browser/indexed_db/indexed_db_context_impl.cc b/content/browser/indexed_db/indexed_db_context_impl.cc
|
| index 7e6f6073875305bc4f48bab178622badf7d3a8cb..3c6194986bd542a5335639f77b0366a21ad2b1b3 100644
|
| --- a/content/browser/indexed_db/indexed_db_context_impl.cc
|
| +++ b/content/browser/indexed_db/indexed_db_context_impl.cc
|
| @@ -14,6 +14,7 @@
|
| #include "base/string_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "content/browser/indexed_db/indexed_db_quota_client.h"
|
| +#include "content/browser/indexed_db/webidbdatabase_impl.h"
|
| #include "content/browser/indexed_db/webidbfactory_impl.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/indexed_db_info.h"
|
| @@ -103,7 +104,7 @@ IndexedDBContextImpl::IndexedDBContextImpl(
|
| }
|
| }
|
|
|
| -WebIDBFactory* IndexedDBContextImpl::GetIDBFactory() {
|
| +WebIDBFactoryImpl* IndexedDBContextImpl::GetIDBFactory() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED));
|
| if (!idb_factory_) {
|
| // Prime our cache of origins with existing databases so we can
|
| @@ -189,7 +190,7 @@ void IndexedDBContextImpl::ForceClose(const GURL& origin_url) {
|
| ConnectionSet::iterator it = connections.begin();
|
| while (it != connections.end()) {
|
| // Remove before closing so callbacks don't double-erase
|
| - WebKit::WebIDBDatabase* db = *it;
|
| + WebIDBDatabaseImpl* db = *it;
|
| connections.erase(it++);
|
| db->forceClose();
|
| }
|
| @@ -210,7 +211,7 @@ base::FilePath IndexedDBContextImpl::GetFilePathForTesting(
|
| }
|
|
|
| void IndexedDBContextImpl::ConnectionOpened(const GURL& origin_url,
|
| - WebIDBDatabase* connection) {
|
| + WebIDBDatabaseImpl* connection) {
|
| DCHECK_EQ(connections_[origin_url].count(connection), 0UL);
|
| if (quota_manager_proxy()) {
|
| quota_manager_proxy()->NotifyStorageAccessed(
|
| @@ -229,7 +230,7 @@ void IndexedDBContextImpl::ConnectionOpened(const GURL& origin_url,
|
| }
|
|
|
| void IndexedDBContextImpl::ConnectionClosed(const GURL& origin_url,
|
| - WebIDBDatabase* connection) {
|
| + WebIDBDatabaseImpl* connection) {
|
| // May not be in the map if connection was forced to close
|
| if (connections_.find(origin_url) == connections_.end() ||
|
| connections_[origin_url].count(connection) != 1)
|
| @@ -274,7 +275,7 @@ quota::QuotaManagerProxy* IndexedDBContextImpl::quota_manager_proxy() {
|
| }
|
|
|
| IndexedDBContextImpl::~IndexedDBContextImpl() {
|
| - WebKit::WebIDBFactory* factory = idb_factory_.release();
|
| + WebIDBFactoryImpl* factory = idb_factory_.release();
|
| if (factory) {
|
| if (!BrowserThread::DeleteSoon(
|
| BrowserThread::WEBKIT_DEPRECATED, FROM_HERE, factory))
|
|
|