diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-06 21:27:17 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-06 21:27:17 +0000 |
commit | 6450c6e0b529029790ca3ae00aeae89f4340ff51 (patch) | |
tree | c2405188e7bb6aeb7fc014a6661a751db1f72086 /chrome/common/render_messages_params.cc | |
parent | 5a90bd13b08d53364929beacafcfa8640ba167b1 (diff) | |
download | chromium_src-6450c6e0b529029790ca3ae00aeae89f4340ff51.zip chromium_src-6450c6e0b529029790ca3ae00aeae89f4340ff51.tar.gz chromium_src-6450c6e0b529029790ca3ae00aeae89f4340ff51.tar.bz2 |
Fix up the IndexedDB plumbing layers to match the latest WebKit code.
Landing http://codereview.chromium.org/3550015/show
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/3575019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61709 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_params.cc')
-rw-r--r-- | chrome/common/render_messages_params.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/chrome/common/render_messages_params.cc b/chrome/common/render_messages_params.cc index c5b4aa3..b9435b6 100644 --- a/chrome/common/render_messages_params.cc +++ b/chrome/common/render_messages_params.cc @@ -183,8 +183,8 @@ ViewHostMsg_IDBFactoryOpen_Params::~ViewHostMsg_IDBFactoryOpen_Params() { ViewHostMsg_IDBDatabaseCreateObjectStore_Params:: ViewHostMsg_IDBDatabaseCreateObjectStore_Params() - : response_id_(0), - auto_increment_(false), + : auto_increment_(false), + transaction_id_(0), idb_database_id_(0) { } @@ -217,8 +217,8 @@ ViewHostMsg_IDBObjectStorePut_Params::~ViewHostMsg_IDBObjectStorePut_Params() { ViewHostMsg_IDBObjectStoreCreateIndex_Params:: ViewHostMsg_IDBObjectStoreCreateIndex_Params() - : response_id_(0), - unique_(false), + : unique_(false), + transaction_id_(0), idb_object_store_id_(0) { } @@ -1246,10 +1246,10 @@ void ParamTraits<ViewHostMsg_IDBFactoryOpen_Params>::Log(const param_type& p, void ParamTraits<ViewHostMsg_IDBDatabaseCreateObjectStore_Params>::Write( Message* m, const param_type& p) { - WriteParam(m, p.response_id_); WriteParam(m, p.name_); WriteParam(m, p.key_path_); WriteParam(m, p.auto_increment_); + WriteParam(m, p.transaction_id_); WriteParam(m, p.idb_database_id_); } @@ -1258,10 +1258,10 @@ bool ParamTraits<ViewHostMsg_IDBDatabaseCreateObjectStore_Params>::Read( void** iter, param_type* p) { return - ReadParam(m, iter, &p->response_id_) && ReadParam(m, iter, &p->name_) && ReadParam(m, iter, &p->key_path_) && ReadParam(m, iter, &p->auto_increment_) && + ReadParam(m, iter, &p->transaction_id_) && ReadParam(m, iter, &p->idb_database_id_); } @@ -1269,14 +1269,14 @@ void ParamTraits<ViewHostMsg_IDBDatabaseCreateObjectStore_Params>::Log( const param_type& p, std::string* l) { l->append("("); - LogParam(p.response_id_, l); - l->append(", "); LogParam(p.name_, l); l->append(", "); LogParam(p.key_path_, l); l->append(", "); LogParam(p.auto_increment_, l); l->append(", "); + LogParam(p.transaction_id_, l); + l->append(", "); LogParam(p.idb_database_id_, l); l->append(")"); } @@ -1372,10 +1372,10 @@ void ParamTraits<ViewHostMsg_IDBObjectStorePut_Params>::Log( void ParamTraits<ViewHostMsg_IDBObjectStoreCreateIndex_Params>::Write( Message* m, const param_type& p) { - WriteParam(m, p.response_id_); WriteParam(m, p.name_); WriteParam(m, p.key_path_); WriteParam(m, p.unique_); + WriteParam(m, p.transaction_id_); WriteParam(m, p.idb_object_store_id_); } @@ -1384,10 +1384,10 @@ bool ParamTraits<ViewHostMsg_IDBObjectStoreCreateIndex_Params>::Read( void** iter, param_type* p) { return - ReadParam(m, iter, &p->response_id_) && ReadParam(m, iter, &p->name_) && ReadParam(m, iter, &p->key_path_) && ReadParam(m, iter, &p->unique_) && + ReadParam(m, iter, &p->transaction_id_) && ReadParam(m, iter, &p->idb_object_store_id_); } @@ -1395,14 +1395,14 @@ void ParamTraits<ViewHostMsg_IDBObjectStoreCreateIndex_Params>::Log( const param_type& p, std::string* l) { l->append("("); - LogParam(p.response_id_, l); - l->append(", "); LogParam(p.name_, l); l->append(", "); LogParam(p.key_path_, l); l->append(", "); LogParam(p.unique_, l); l->append(", "); + LogParam(p.transaction_id_, l); + l->append(", "); LogParam(p.idb_object_store_id_, l); l->append(")"); } |