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

Unified Diff: content/common/indexed_db/indexed_db_messages.h

Issue 10829013: Chrome side changes for integer versions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add #include that windows needs Created 8 years, 5 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/indexed_db_messages.h
diff --git a/content/common/indexed_db/indexed_db_messages.h b/content/common/indexed_db/indexed_db_messages.h
index b265a1f4ba255993372d21739d800e1ca2a86919..a84428db47a6ea8a99bd564d51578a4348a82089 100644
--- a/content/common/indexed_db/indexed_db_messages.h
+++ b/content/common/indexed_db/indexed_db_messages.h
@@ -42,6 +42,8 @@ IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryOpen_Params)
IPC_STRUCT_MEMBER(string16, origin)
// The name of the database.
IPC_STRUCT_MEMBER(string16, name)
+ // The requested version of the database.
+ IPC_STRUCT_MEMBER(int64, version)
IPC_STRUCT_END()
// Used to delete an indexed database.
@@ -245,6 +247,16 @@ IPC_MESSAGE_CONTROL4(IndexedDBMsg_CallbacksError,
IPC_MESSAGE_CONTROL2(IndexedDBMsg_CallbacksBlocked,
int32 /* thread_id */,
int32 /* response_id */)
+IPC_MESSAGE_CONTROL3(IndexedDBMsg_CallbacksIntBlocked,
+ int32 /* thread_id */,
+ int32 /* response_id */,
+ int64 /* existing_version */)
+IPC_MESSAGE_CONTROL5(IndexedDBMsg_CallbacksUpgradeNeeded,
+ int32, /* thread_id */
+ int32, /* response_id */
+ int32, /* transaction_id */
+ int32, /* database_id */
+ int64) /* old_version */
// IDBTransactionCallback message handlers.
IPC_MESSAGE_CONTROL2(IndexedDBMsg_TransactionCallbacksAbort,
@@ -259,6 +271,12 @@ IPC_MESSAGE_CONTROL3(IndexedDBMsg_DatabaseCallbacksVersionChange,
int32, /* database_id */
string16) /* new_version */
+IPC_MESSAGE_CONTROL4(IndexedDBMsg_DatabaseCallbacksIntVersionChange,
+ int32, /* thread_id */
+ int32, /* database_id */
+ int64, /* old_version */
+ int64) /* new_version */
+
// Indexed DB messages sent from the renderer to the browser.
// WebIDBCursor::update() message.
« no previous file with comments | « content/common/indexed_db/indexed_db_dispatcher.cc ('k') | content/common/indexed_db/proxy_webidbdatabase_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698