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

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: 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..baa8ddf32ba944af9c1ca00df4f01bd6da438067 100644
--- a/content/common/indexed_db_messages.h
+++ b/content/common/indexed_db_messages.h
@@ -20,6 +20,14 @@
IPC_ENUM_TRAITS(WebKit::WebIDBObjectStore::PutMode)
+// Used to enumerate indexed databases.
+IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryDatabaseNames_Params)
+ // The routing ID of the view initiating the open.
+ IPC_STRUCT_MEMBER(int32, routing_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.
@@ -205,6 +213,11 @@ IPC_SYNC_MESSAGE_CONTROL2_1(IndexedDBHostMsg_CursorDelete,
int32, /* response_id */
WebKit::WebExceptionCode /* ec */)
+// WebIDBFactory::databaseNames() message.
+IPC_SYNC_MESSAGE_CONTROL1_1(IndexedDBHostMsg_FactoryDatabaseNames,
dgrogan 2011/09/14 01:25:20 This needs to be async, which will obviously compl
+ IndexedDBHostMsg_FactoryDatabaseNames_Params,
+ std::vector<string16> /* database_names */)
+
// WebIDBFactory::open() message.
IPC_MESSAGE_CONTROL1(IndexedDBHostMsg_FactoryOpen,
IndexedDBHostMsg_FactoryOpen_Params)

Powered by Google App Engine
This is Rietveld 408576698