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

Unified Diff: chrome/browser/in_process_webkit/indexed_db_callbacks.cc

Issue 6458004: Remove includes of message headers in headers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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: chrome/browser/in_process_webkit/indexed_db_callbacks.cc
===================================================================
--- chrome/browser/in_process_webkit/indexed_db_callbacks.cc (revision 74235)
+++ chrome/browser/in_process_webkit/indexed_db_callbacks.cc (working copy)
@@ -4,6 +4,8 @@
#include "chrome/browser/in_process_webkit/indexed_db_callbacks.h"
+#include "chrome/common/indexed_db_messages.h"
+
IndexedDBCallbacksBase::IndexedDBCallbacksBase(
IndexedDBDispatcherHost* dispatcher_host,
int32 response_id)
@@ -41,3 +43,31 @@
dispatcher_host_->Send(
new IndexedDBMsg_TransactionCallbacksTimeout(transaction_id_));
}
+
+void IndexedDBCallbacks<WebKit::WebIDBCursor>::onSuccess(
+ WebKit::WebIDBCursor* idb_object) {
+ int32 object_id = dispatcher_host()->Add(idb_object);
+ dispatcher_host()->Send(
+ new IndexedDBMsg_CallbacksSuccessIDBCursor(response_id(), object_id));
+}
+
+void IndexedDBCallbacks<WebKit::WebIDBCursor>::onSuccess(
+ const WebKit::WebSerializedScriptValue& value) {
+ dispatcher_host()->Send(
+ new IndexedDBMsg_CallbacksSuccessSerializedScriptValue(
+ response_id(), SerializedScriptValue(value)));
+}
+
+void IndexedDBCallbacks<WebKit::WebIDBKey>::onSuccess(
+ const WebKit::WebIDBKey& value) {
+ dispatcher_host()->Send(
+ new IndexedDBMsg_CallbacksSuccessIndexedDBKey(
+ response_id(), IndexedDBKey(value)));
+}
+
+void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess(
+ const WebKit::WebSerializedScriptValue& value) {
+ dispatcher_host()->Send(
+ new IndexedDBMsg_CallbacksSuccessSerializedScriptValue(
+ response_id(), SerializedScriptValue(value)));
+}
« no previous file with comments | « chrome/browser/in_process_webkit/indexed_db_callbacks.h ('k') | chrome/browser/notifications/desktop_notifications_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698