diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 17:45:38 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-15 17:45:38 +0000 |
commit | 080e893289cf363ae46a49eda5dd4dd533f96222 (patch) | |
tree | e8fc80d5f5ab838730b8d5b00e23a0df5d587253 /chrome | |
parent | 4a5e778355c2b05cccbd8e7aca129f199de5e001 (diff) | |
download | chromium_src-080e893289cf363ae46a49eda5dd4dd533f96222.zip chromium_src-080e893289cf363ae46a49eda5dd4dd533f96222.tar.gz chromium_src-080e893289cf363ae46a49eda5dd4dd533f96222.tar.bz2 |
The is_content_filtered parameter of the ViewHostMsg_FrameNavigate_Params was not serialized/deserialized.
BUG=2742 (partially)
Review URL: http://codereview.chromium.org/7351
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3395 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/common/render_messages.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index a4e30a4..46373c5 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -835,6 +835,7 @@ struct ParamTraits<ViewHostMsg_FrameNavigate_Params> { WriteParam(m, p.gesture); WriteParam(m, p.contents_mime_type); WriteParam(m, p.is_post); + WriteParam(m, p.is_content_filtered); } static bool Read(const Message* m, void** iter, param_type* p) { return @@ -851,7 +852,8 @@ struct ParamTraits<ViewHostMsg_FrameNavigate_Params> { ReadParam(m, iter, &p->security_info) && ReadParam(m, iter, &p->gesture) && ReadParam(m, iter, &p->contents_mime_type) && - ReadParam(m, iter, &p->is_post); + ReadParam(m, iter, &p->is_post) && + ReadParam(m, iter, &p->is_content_filtered); } static void Log(const param_type& p, std::wstring* l) { l->append(L"("); @@ -882,6 +884,8 @@ struct ParamTraits<ViewHostMsg_FrameNavigate_Params> { LogParam(p.contents_mime_type, l); l->append(L", "); LogParam(p.is_post, l); + l->append(L", "); + LogParam(p.is_content_filtered, l); l->append(L")"); } }; |