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

Unified Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.h

Issue 16573003: Remove content/browser dependency on WebKit::WebIDBCallbacks and WebKit::WebIDBDatabaseCallbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix namespace issues 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/in_process_webkit/indexed_db_dispatcher_host.h
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
index 92d8a22ed111cbcddd2d6699292062ee2884d685..7385bb2307121a7ecfeabd9362e37f0115b6cc7a 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
@@ -28,8 +28,6 @@ struct IndexedDBHostMsg_FactoryGetDatabaseNames_Params;
struct IndexedDBHostMsg_FactoryOpen_Params;
namespace WebKit {
-class WebIDBCursor;
-class WebIDBDatabase;
struct WebIDBMetadata;
}
@@ -38,6 +36,8 @@ class IndexedDBContextImpl;
class IndexedDBKey;
class IndexedDBKeyPath;
class IndexedDBKeyRange;
+class WebIDBCursorImpl;
+class WebIDBDatabaseImpl;
// Handles all IndexedDB related messages from a particular renderer process.
class IndexedDBDispatcherHost : public BrowserMessageFilter {
@@ -63,14 +63,14 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
// The various IndexedDBCallbacks children call these methods to add the
// results into the applicable map. See below for more details.
- int32 Add(WebKit::WebIDBCursor* idb_cursor);
- int32 Add(WebKit::WebIDBDatabase* idb_database,
+ int32 Add(WebIDBCursorImpl* idb_cursor);
+ int32 Add(WebIDBDatabaseImpl* idb_database,
int32 ipc_thread_id,
const GURL& origin_url);
void RegisterTransactionId(int64 host_transaction_id, const GURL& origin_url);
- WebKit::WebIDBCursor* GetCursorFromId(int32 ipc_cursor_id);
+ WebIDBCursorImpl* GetCursorFromId(int32 ipc_cursor_id);
int64 HostTransactionId(int64 transaction_id);
int64 RendererTransactionId(int64 host_transaction_id);
@@ -154,7 +154,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<WebKit::WebIDBDatabase, IDMapOwnPointer> map_;
+ IDMap<WebIDBDatabaseImpl, IDMapOwnPointer> map_;
WebIDBObjectIDToURLMap database_url_map_;
TransactionIDToSizeMap transaction_size_map_;
TransactionIDToURLMap transaction_url_map_;
@@ -187,7 +187,7 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
void OnDestroyed(int32 ipc_cursor_id);
IndexedDBDispatcherHost* parent_;
- IDMap<WebKit::WebIDBCursor, IDMapOwnPointer> map_;
+ IDMap<WebIDBCursorImpl, IDMapOwnPointer> map_;
};
scoped_refptr<IndexedDBContextImpl> indexed_db_context_;

Powered by Google App Engine
This is Rietveld 408576698