Index: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
index 157e2edea315e39f5ed62ee117c8f3c7e632f215..a6fa2e929db40ccd852a76f5c2d588c7052689bd 100644 |
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
@@ -685,6 +685,8 @@ bool IndexedDBDispatcherHost::ObjectStoreDispatcherHost::OnMessageReceived( |
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_ObjectStoreName, OnName) |
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_ObjectStoreKeyPath, OnKeyPath) |
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_ObjectStoreIndexNames, OnIndexNames) |
+ IPC_MESSAGE_HANDLER(IndexedDBHostMsg_ObjectStoreAutoIncrement, |
+ OnAutoIncrement) |
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_ObjectStoreGet, OnGet) |
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_ObjectStorePut, OnPut) |
IPC_MESSAGE_HANDLER(IndexedDBHostMsg_ObjectStoreDelete, OnDelete) |
@@ -735,6 +737,12 @@ void IndexedDBDispatcherHost::ObjectStoreDispatcherHost::OnIndexNames( |
index_names->push_back(web_index_names.item(i)); |
} |
+void IndexedDBDispatcherHost::ObjectStoreDispatcherHost::OnAutoIncrement( |
+ int32 idb_object_store_id, bool* auto_increment) { |
+ parent_->SyncGetter<bool>(&map_, idb_object_store_id, auto_increment, |
+ &WebIDBObjectStore::autoIncrement); |
+} |
+ |
void IndexedDBDispatcherHost::ObjectStoreDispatcherHost::OnGet( |
int idb_object_store_id, |
int32 thread_id, |