Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: content/browser/indexed_db/indexed_db_context_impl.h

Issue 18221003: Convert WebIDBDatabaseImpl to IndexedDBConnection (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review feedback Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_context_impl.h
diff --git a/content/browser/indexed_db/indexed_db_context_impl.h b/content/browser/indexed_db/indexed_db_context_impl.h
index 0b31f50ba79e1e52db1ca646dbae79db76ef3de1..d13da2517492d624056f72539981aa9e4ec437ef 100644
--- a/content/browser/indexed_db/indexed_db_context_impl.h
+++ b/content/browser/indexed_db/indexed_db_context_impl.h
@@ -33,7 +33,7 @@ class SpecialStoragePolicy;
namespace content {
-class WebIDBDatabaseImpl;
+class IndexedDBConnection;
class CONTENT_EXPORT IndexedDBContextImpl
: NON_EXPORTED_BASE(public IndexedDBContext) {
@@ -65,8 +65,8 @@ class CONTENT_EXPORT IndexedDBContextImpl
base::SequencedTaskRunner* task_runner) OVERRIDE;
// Methods called by IndexedDBDispatcherHost for quota support.
- void ConnectionOpened(const GURL& origin_url, WebIDBDatabaseImpl* db);
- void ConnectionClosed(const GURL& origin_url, WebIDBDatabaseImpl* db);
+ void ConnectionOpened(const GURL& origin_url, IndexedDBConnection* db);
+ void ConnectionClosed(const GURL& origin_url, IndexedDBConnection* db);
void TransactionComplete(const GURL& origin_url);
bool WouldBeOverQuota(const GURL& origin_url, int64 additional_bytes);
bool IsOverQuota(const GURL& origin_url);
@@ -131,7 +131,7 @@ class CONTENT_EXPORT IndexedDBContextImpl
scoped_ptr<std::set<GURL> > origin_set_;
OriginToSizeMap origin_size_map_;
OriginToSizeMap space_available_map_;
- typedef std::set<WebIDBDatabaseImpl*> ConnectionSet;
+ typedef std::set<IndexedDBConnection*> ConnectionSet;
std::map<GURL, ConnectionSet> connections_;
DISALLOW_COPY_AND_ASSIGN(IndexedDBContextImpl);
« no previous file with comments | « content/browser/indexed_db/indexed_db_connection.cc ('k') | content/browser/indexed_db/indexed_db_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698