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

Unified Diff: chrome/common/render_messages_params.cc

Issue 3729003: Add plumbing for passing the indexed database quota via IDBFactory::open (Closed)
Patch Set: Address Jeremy's comments Created 10 years, 2 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
« no previous file with comments | « chrome/common/render_messages_params.h ('k') | chrome/renderer/indexed_db_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages_params.cc
diff --git a/chrome/common/render_messages_params.cc b/chrome/common/render_messages_params.cc
index b9435b68e317ec4af887fb2c73ddd22f0b6565c0..220ea88269a330ab487ed1017eec4e043d75245d 100644
--- a/chrome/common/render_messages_params.cc
+++ b/chrome/common/render_messages_params.cc
@@ -175,7 +175,8 @@ ViewMsg_DOMStorageEvent_Params::~ViewMsg_DOMStorageEvent_Params() {
ViewHostMsg_IDBFactoryOpen_Params::ViewHostMsg_IDBFactoryOpen_Params()
: routing_id_(0),
- response_id_(0) {
+ response_id_(0),
+ maximum_size_(0) {
}
ViewHostMsg_IDBFactoryOpen_Params::~ViewHostMsg_IDBFactoryOpen_Params() {
@@ -1215,6 +1216,7 @@ void ParamTraits<ViewHostMsg_IDBFactoryOpen_Params>::Write(
WriteParam(m, p.origin_);
WriteParam(m, p.name_);
WriteParam(m, p.description_);
+ WriteParam(m, p.maximum_size_);
}
bool ParamTraits<ViewHostMsg_IDBFactoryOpen_Params>::Read(const Message* m,
@@ -1225,7 +1227,8 @@ bool ParamTraits<ViewHostMsg_IDBFactoryOpen_Params>::Read(const Message* m,
ReadParam(m, iter, &p->response_id_) &&
ReadParam(m, iter, &p->origin_) &&
ReadParam(m, iter, &p->name_) &&
- ReadParam(m, iter, &p->description_);
+ ReadParam(m, iter, &p->description_) &&
+ ReadParam(m, iter, &p->maximum_size_);
}
void ParamTraits<ViewHostMsg_IDBFactoryOpen_Params>::Log(const param_type& p,
@@ -1240,6 +1243,8 @@ void ParamTraits<ViewHostMsg_IDBFactoryOpen_Params>::Log(const param_type& p,
LogParam(p.name_, l);
l->append(", ");
LogParam(p.description_, l);
+ l->append(", ");
+ LogParam(p.maximum_size_, l);
l->append(")");
}
« no previous file with comments | « chrome/common/render_messages_params.h ('k') | chrome/renderer/indexed_db_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698