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

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

Issue 11791009: IPC implementation for create/delete ObjectStore/Index (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add HostTransactionId where appropriate Created 7 years, 11 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
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 41e03d894d71125ffe54e4bd199e471470fe83dd..daf7e14cf1959596289c66c01f24ca5aa3def3c8 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
@@ -16,6 +16,8 @@
class GURL;
struct IndexedDBDatabaseMetadata;
struct IndexedDBHostMsg_DatabaseCount_Params;
+struct IndexedDBHostMsg_DatabaseCreateIndex_Params;
+struct IndexedDBHostMsg_DatabaseCreateObjectStoreOld_Params;
struct IndexedDBHostMsg_DatabaseCreateObjectStore_Params;
struct IndexedDBHostMsg_DatabaseDeleteRange_Params;
struct IndexedDBHostMsg_DatabaseGet_Params;
@@ -124,13 +126,18 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
void OnMetadata(int32 ipc_database_id,
IndexedDBDatabaseMetadata* metadata);
- void OnCreateObjectStore(
- const IndexedDBHostMsg_DatabaseCreateObjectStore_Params& params,
+ void OnCreateObjectStoreOld(
+ const IndexedDBHostMsg_DatabaseCreateObjectStoreOld_Params& params,
int32* object_store_id, WebKit::WebExceptionCode* ec);
+ void OnCreateObjectStore(
+ const IndexedDBHostMsg_DatabaseCreateObjectStore_Params& params);
+ void OnDeleteObjectStoreOld(int32 ipc_database_id,
+ int64 object_store_id,
+ int32 ipc_transaction_id,
+ WebKit::WebExceptionCode* ec);
void OnDeleteObjectStore(int32 ipc_database_id,
- int64 object_store_id,
- int32 ipc_transaction_id,
- WebKit::WebExceptionCode* ec);
+ int64 transaction_id,
+ int64 object_store_id);
void OnCreateTransaction(int32 ipc_thread_id,
int32 ipc_database_id,
int64 transaction_id,
@@ -161,6 +168,13 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
int32 ipc_database_id,
int64 transaction_id,
int64 object_store_id);
+ void OnCreateIndex(
+ const IndexedDBHostMsg_DatabaseCreateIndex_Params& params);
+ void OnDeleteIndex(int32 ipc_database_id,
+ int64 transaction_id,
+ int64 object_store_id,
+ int64 index_id);
+
IndexedDBDispatcherHost* parent_;
IDMap<WebKit::WebIDBDatabase, IDMapOwnPointer> map_;
WebIDBObjectIDToURLMap database_url_map_;
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698