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

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

Issue 11194026: Flush out IPC for onSuccess() / onSuccess(long long) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: formatting nit Created 8 years, 2 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/browser/in_process_webkit/indexed_db_callbacks.cc
diff --git a/content/browser/in_process_webkit/indexed_db_callbacks.cc b/content/browser/in_process_webkit/indexed_db_callbacks.cc
index f239ddd7f9a7526b8465d8da76dae926730569bb..3279fa7b301dbb1f1c0c85af62783bdabf3c4472 100644
--- a/content/browser/in_process_webkit/indexed_db_callbacks.cc
+++ b/content/browser/in_process_webkit/indexed_db_callbacks.cc
@@ -205,3 +205,17 @@ void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess(
thread_id(), response_id(), SerializedScriptValue(value),
IndexedDBKey(primaryKey), IndexedDBKeyPath(keyPath)));
}
+
+void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess(
+ long long value) {
+ dispatcher_host()->Send(
+ new IndexedDBMsg_CallbacksSuccessInteger(thread_id(),
+ response_id(),
+ value));
+}
+
+void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess() {
+ dispatcher_host()->Send(
+ new IndexedDBMsg_CallbacksSuccessUndefined(thread_id(),
+ response_id()));
+}
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_callbacks.h ('k') | content/common/indexed_db/indexed_db_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698