Chromium Code Reviews| Index: content/common/indexed_db/indexed_db_dispatcher.h |
| diff --git a/content/common/indexed_db/indexed_db_dispatcher.h b/content/common/indexed_db/indexed_db_dispatcher.h |
| index 9c589fc4f37e6c0ea042abd3e8f949afca9939f1..8bc6fac3aca0ec94a003a25bebc35b76dcf75d99 100644 |
| --- a/content/common/indexed_db/indexed_db_dispatcher.h |
| +++ b/content/common/indexed_db/indexed_db_dispatcher.h |
| @@ -14,9 +14,11 @@ |
| #include "ipc/ipc_sync_message_filter.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebExceptionCode.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCallbacks.h" |
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseCallbacks.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" |
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransactionCallbacks.h" |
| #include "webkit/glue/worker_task_runner.h" |
| @@ -33,7 +35,6 @@ class Message; |
| namespace WebKit { |
| class WebFrame; |
| class WebIDBKeyRange; |
| -class WebIDBTransaction; |
| } |
| namespace content { |
| @@ -176,6 +177,18 @@ class CONTENT_EXPORT IndexedDBDispatcher |
| const WebKit::WebVector<WebKit::WebVector<WebKit::WebIDBKey> >& indexKeys, |
| WebKit::WebExceptionCode* ec); |
| + void RequestIDBObjectStoreSetIndexKeys( |
| + int32 idb_object_store_id, |
| + const content::IndexedDBKey& primaryKey, |
| + const WebKit::WebVector<WebKit::WebString>& indexNames, |
| + const WebKit::WebVector<WebKit::WebVector<WebKit::WebIDBKey> >& indexKeys, |
| + const WebKit::WebIDBTransaction& transaction); |
| + |
| + void RequestIDBObjectStoreSetIndexesReady( |
| + int32 idb_object_store_id, |
| + const WebKit::WebVector<WebKit::WebString>& indexNames, |
| + const WebKit::WebIDBTransaction& transaction); |
| + |
| void RequestIDBObjectStoreDelete( |
| const content::IndexedDBKeyRange& key_range, |
| WebKit::WebIDBCallbacks* callbacks, |
| @@ -191,9 +204,10 @@ class CONTENT_EXPORT IndexedDBDispatcher |
| void RequestIDBObjectStoreOpenCursor( |
| const WebKit::WebIDBKeyRange& idb_key_range, |
| - unsigned short direction, |
| + WebKit::WebIDBCursor::Direction direction, |
|
jsbell
2012/08/08 23:34:08
Just a reminder to add the WebIDBCursor::Direction
alecflett
2012/08/09 20:54:18
good point! https://bugs.webkit.org/show_bug.cgi?i
|
| WebKit::WebIDBCallbacks* callbacks, |
| int32 idb_object_store_id, |
| + WebKit::WebIDBTransaction::TaskType task_type, |
| const WebKit::WebIDBTransaction& transaction, |
| WebKit::WebExceptionCode* ec); |