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

Unified Diff: content/common/indexed_db/indexed_db_dispatcher.h

Issue 10830228: Chromium glue for Preemptive cursors and passing keys from renderer to browser (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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/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);

Powered by Google App Engine
This is Rietveld 408576698