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

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

Issue 7889024: Implementation of IDBFactory::getDatabaseNames (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove unnecessary #includes Created 9 years, 3 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 24a77998e1842ee50cee4d2c11724ac4797297d2..240ad50ccc3be8803add541bdde3568575e60e8b 100644
--- a/content/browser/in_process_webkit/indexed_db_callbacks.cc
+++ b/content/browser/in_process_webkit/indexed_db_callbacks.cc
@@ -46,6 +46,18 @@ void IndexedDBCallbacks<WebKit::WebIDBKey>::onSuccess(
response_id(), IndexedDBKey(value)));
}
+void IndexedDBCallbacks<WebKit::WebDOMStringList>::onSuccess(
+ const WebKit::WebDOMStringList& value) {
+
+ std::vector<string16> list;
+ for (unsigned i = 0; i < value.length(); ++i)
+ list.push_back(value.item(i));
+
+ dispatcher_host()->Send(
+ new IndexedDBMsg_CallbacksSuccessStringList(
+ response_id(), list));
+}
+
void IndexedDBCallbacks<WebKit::WebSerializedScriptValue>::onSuccess(
const WebKit::WebSerializedScriptValue& value) {
dispatcher_host()->Send(

Powered by Google App Engine
This is Rietveld 408576698