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

Unified Diff: content/browser/indexed_db/indexed_db_dispatcher_host.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_dispatcher_host.h
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.h b/content/browser/indexed_db/indexed_db_dispatcher_host.h
index e17b22088292869dc1abf0d21f06ddc456815f9a..a45ff6614f2b121454371bf3fca3afe7630bb042 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.h
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.h
@@ -29,12 +29,12 @@ struct IndexedDBHostMsg_FactoryGetDatabaseNames_Params;
struct IndexedDBHostMsg_FactoryOpen_Params;
namespace content {
+class IndexedDBConnection;
class IndexedDBContextImpl;
class IndexedDBCursor;
class IndexedDBKey;
class IndexedDBKeyPath;
class IndexedDBKeyRange;
-class WebIDBDatabaseImpl;
struct IndexedDBDatabaseMetadata;
// Handles all IndexedDB related messages from a particular renderer process.
@@ -62,8 +62,8 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
// IndexedDBCallbacks call these methods to add the results into the
// applicable map. See below for more details.
- int32 Add(IndexedDBCursor* idb_cursor);
- int32 Add(WebIDBDatabaseImpl* idb_database,
+ int32 Add(IndexedDBCursor* cursor);
+ int32 Add(IndexedDBConnection* connection,
int32 ipc_thread_id,
const GURL& origin_url);
@@ -190,7 +190,7 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
void OnAbort(int32 ipc_database_id, int64 transaction_id);
void OnCommit(int32 ipc_database_id, int64 transaction_id);
IndexedDBDispatcherHost* parent_;
- IDMap<WebIDBDatabaseImpl, IDMapOwnPointer> map_;
+ IDMap<IndexedDBConnection, IDMapOwnPointer> map_;
WebIDBObjectIDToURLMap database_url_map_;
TransactionIDToSizeMap transaction_size_map_;
TransactionIDToURLMap transaction_url_map_;
« no previous file with comments | « content/browser/indexed_db/indexed_db_database_unittest.cc ('k') | content/browser/indexed_db/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698