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

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

Issue 12326023: Proxy new WebData-based onSuccess() calls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix more .data()-related android bustage Created 7 years, 10 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 51a8b31a25e0ba7026c577fae8824db0e273097c..0b0ca546246dbaadfc1eae084046e2f6e14fe7c8 100644
--- a/content/common/indexed_db/indexed_db_dispatcher.h
+++ b/content/common/indexed_db/indexed_db_dispatcher.h
@@ -19,14 +19,17 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseCallbacks.h"
#include "webkit/glue/worker_task_runner.h"
+struct IndexedDBDatabaseMetadata;
+struct IndexedDBMsg_CallbacksSuccessCursorContinueOld_Params;
struct IndexedDBMsg_CallbacksSuccessCursorContinue_Params;
+struct IndexedDBMsg_CallbacksSuccessCursorPrefetchOld_Params;
struct IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params;
+struct IndexedDBMsg_CallbacksSuccessIDBCursorOld_Params;
struct IndexedDBMsg_CallbacksSuccessIDBCursor_Params;
-struct IndexedDBDatabaseMetadata;
namespace WebKit {
+class WebData;
class WebFrame;
-class WebIDBKeyRange;
}
namespace content {
@@ -203,15 +206,26 @@ class CONTENT_EXPORT IndexedDBDispatcher
void OnSuccessIndexedDBKey(int32 ipc_thread_id,
int32 ipc_response_id,
const IndexedDBKey& key);
+
+ void OnSuccessOpenCursorOld(
+ const IndexedDBMsg_CallbacksSuccessIDBCursorOld_Params& p);
void OnSuccessOpenCursor(
const IndexedDBMsg_CallbacksSuccessIDBCursor_Params& p);
+ void OnSuccessCursorContinueOld(
+ const IndexedDBMsg_CallbacksSuccessCursorContinueOld_Params& p);
void OnSuccessCursorContinue(
const IndexedDBMsg_CallbacksSuccessCursorContinue_Params& p);
+ void OnSuccessCursorPrefetchOld(
+ const IndexedDBMsg_CallbacksSuccessCursorPrefetchOld_Params& p);
void OnSuccessCursorPrefetch(
const IndexedDBMsg_CallbacksSuccessCursorPrefetch_Params& p);
void OnSuccessStringList(int32 ipc_thread_id,
int32 ipc_response_id,
const std::vector<string16>& value);
+ void OnSuccessValue(
+ int32 ipc_thread_id,
+ int32 ipc_response_id,
+ const std::vector<char>& value);
void OnSuccessSerializedScriptValue(
int32 ipc_thread_id,
int32 ipc_response_id,
@@ -222,6 +236,12 @@ class CONTENT_EXPORT IndexedDBDispatcher
const SerializedScriptValue& value,
const IndexedDBKey& primary_key,
const IndexedDBKeyPath& key_path);
+ void OnSuccessValueWithKey(
+ int32 ipc_thread_id,
+ int32 ipc_response_id,
+ const std::vector<char>& value,
+ const IndexedDBKey& primary_key,
+ const IndexedDBKeyPath& key_path);
void OnSuccessInteger(
int32 ipc_thread_id,
int32 ipc_response_id,
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.cc ('k') | content/common/indexed_db/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698