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

Unified Diff: content/common/indexed_db_messages.h

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/common/indexed_db_messages.h
diff --git a/content/common/indexed_db_messages.h b/content/common/indexed_db_messages.h
index 8347b01f682dcf70594ff6862181e9dc11669b94..490a69ac1a7710f36dc7bd94f6d48aa0856ea29c 100644
--- a/content/common/indexed_db_messages.h
+++ b/content/common/indexed_db_messages.h
@@ -20,6 +20,16 @@
IPC_ENUM_TRAITS(WebKit::WebIDBObjectStore::PutMode)
+// Used to enumerate indexed databases.
+IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryGetDatabaseNames_Params)
+ // The routing ID of the view initiating the open.
+ IPC_STRUCT_MEMBER(int32, routing_id)
+ // The response should have this id.
+ IPC_STRUCT_MEMBER(int32, response_id)
+ // The origin doing the initiating.
+ IPC_STRUCT_MEMBER(string16, origin)
+IPC_STRUCT_END()
+
// Used to open an indexed database.
IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryOpen_Params)
// The routing ID of the view initiating the open.
@@ -146,6 +156,9 @@ IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessIDBTransaction,
IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessSerializedScriptValue,
int32 /* response_id */,
SerializedScriptValue /* serialized_script_value */)
+IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksSuccessStringList,
+ int32 /* response_id */,
+ std::vector<string16> /* dom_string_list */)
IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksError,
int32 /* response_id */,
int /* code */,
@@ -205,6 +218,10 @@ IPC_SYNC_MESSAGE_CONTROL2_1(IndexedDBHostMsg_CursorDelete,
int32, /* response_id */
WebKit::WebExceptionCode /* ec */)
+// WebIDBFactory::getDatabaseNames() message.
+IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryGetDatabaseNames,
+ IndexedDBHostMsg_FactoryGetDatabaseNames_Params)
+
// WebIDBFactory::open() message.
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpen,
IndexedDBHostMsg_FactoryOpen_Params)
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.cc ('k') | content/renderer/indexed_db_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698