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

Unified Diff: chrome/common/render_messages.h

Issue 1458001: Write and read content blocked flag. This should have resulted... (Closed) Base URL: svn://chrome-svn/chrome/branches/249/src/
Patch Set: moved to trunk Created 10 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index f795336871e0c4fc544ccf3d78e5143478e8fdf0..260b3d3dc9e8e29c5fb231b4324d985a9ec0958b 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -2067,12 +2067,14 @@ struct ParamTraits<ViewMsg_DatabaseOpenFileResponse_Params> {
#if defined(OS_POSIX)
WriteParam(m, p.dir_handle);
#endif
+ WriteParam(m, p.blocked);
}
static bool Read(const Message* m, void** iter, param_type* p) {
bool ret = ReadParam(m, iter, &p->file_handle);
#if defined(OS_POSIX)
ret = ret && ReadParam(m, iter, &p->dir_handle);
#endif
+ ret = ret && ReadParam(m, iter, &p->blocked);
return ret;
}
static void Log(const param_type& p, std::wstring* l) {
@@ -2082,6 +2084,8 @@ struct ParamTraits<ViewMsg_DatabaseOpenFileResponse_Params> {
l->append(L", ");
LogParam(p.dir_handle, l);
#endif
+ LogParam(L", ");
+ LogParam(p.blocked, l);
l->append(L")");
}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698