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

Unified Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.h

Issue 10533057: IPC plumbing for IndexedDB to snapshot metadata to the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use IPC macros rather than introducing new classes Created 8 years, 6 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_dispatcher_host.h
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
index 84475c6d59c46a7752a375242af002c6a7a60d0f..26a78da30bf8dcda8d401a5175db41bf867a904b 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.h
@@ -15,6 +15,7 @@
class GURL;
class IndexedDBContextImpl;
+struct IndexedDBDatabaseMetadata;
struct IndexedDBHostMsg_DatabaseCreateObjectStore_Params;
struct IndexedDBHostMsg_FactoryDeleteDatabase_Params;
struct IndexedDBHostMsg_FactoryGetDatabaseNames_Params;
@@ -33,6 +34,9 @@ class WebIDBDatabase;
class WebIDBIndex;
class WebIDBObjectStore;
class WebIDBTransaction;
+struct WebIDBDatabaseMetadata;
+struct WebIDBIndexMetadata;
+struct WebIDBObjectStoreMetadata;
}
namespace content {
@@ -115,6 +119,8 @@ class IndexedDBDispatcherHost : public content::BrowserMessageFilter {
bool OnMessageReceived(const IPC::Message& message, bool *msg_is_ok);
void Send(IPC::Message* message);
+ void OnMetadata(int32 idb_database_id,
+ IndexedDBDatabaseMetadata* metadata);
void OnName(int32 idb_database_id, string16* name);
void OnVersion(int32 idb_database_id, string16* version);
void OnObjectStoreNames(int32 idb_database_id,

Powered by Google App Engine
This is Rietveld 408576698