diff options
author | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 19:58:32 +0000 |
---|---|---|
committer | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-26 19:58:32 +0000 |
commit | f701930f2094bea08a1aa8425c8d704b8f3ef579 (patch) | |
tree | 6e94e3064dae27712be507f744c3fb1a6480a241 /chrome/test | |
parent | b03794d3a1bb536655207d73a78f115e3722893d (diff) | |
download | chromium_src-f701930f2094bea08a1aa8425c8d704b8f3ef579.zip chromium_src-f701930f2094bea08a1aa8425c8d704b8f3ef579.tar.gz chromium_src-f701930f2094bea08a1aa8425c8d704b8f3ef579.tar.bz2 |
Committing for Eric Dingle.
http://codereview.chromium.org/890005
BUG=0
TEST=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42800 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/automation/automation_messages.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/test/automation/automation_messages.h b/chrome/test/automation/automation_messages.h index 42d4731..22ec4d6 100644 --- a/chrome/test/automation/automation_messages.h +++ b/chrome/test/automation/automation_messages.h @@ -356,6 +356,7 @@ struct ExternalTabSettings { bool handle_top_level_requests; GURL initial_url; GURL referrer; + bool infobars_enabled; }; // Traits for ExternalTabSettings structure to pack/unpack. @@ -371,6 +372,7 @@ struct ParamTraits<ExternalTabSettings> { WriteParam(m, p.handle_top_level_requests); WriteParam(m, p.initial_url); WriteParam(m, p.referrer); + WriteParam(m, p.infobars_enabled); } static bool Read(const Message* m, void** iter, param_type* p) { return ReadParam(m, iter, &p->parent) && @@ -380,7 +382,8 @@ struct ParamTraits<ExternalTabSettings> { ReadParam(m, iter, &p->load_requests_via_automation) && ReadParam(m, iter, &p->handle_top_level_requests) && ReadParam(m, iter, &p->initial_url) && - ReadParam(m, iter, &p->referrer); + ReadParam(m, iter, &p->referrer) && + ReadParam(m, iter, &p->infobars_enabled); } static void Log(const param_type& p, std::wstring* l) { l->append(L"("); @@ -399,6 +402,8 @@ struct ParamTraits<ExternalTabSettings> { LogParam(p.initial_url, l); l->append(L", "); LogParam(p.referrer, l); + l->append(L", "); + LogParam(p.infobars_enabled, l); l->append(L")"); } }; |