summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages.h
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 19:36:16 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-16 19:36:16 +0000
commite768baf6ebf5a49cc19d58d1761321b175c82c18 (patch)
treec29fb1ebcef46d9ad929ed1fd68f954a04f97b06 /chrome/common/render_messages.h
parenta850e9592bb1a8c43275116ff565c91b4b1cb66b (diff)
downloadchromium_src-e768baf6ebf5a49cc19d58d1761321b175c82c18.zip
chromium_src-e768baf6ebf5a49cc19d58d1761321b175c82c18.tar.gz
chromium_src-e768baf6ebf5a49cc19d58d1761321b175c82c18.tar.bz2
Separate the PasswordManagerDelegate out of PasswordManager.
Previously, anyone who included tab_contents.h would bring in a bunch of implementation details of the password manager from webkit_glue. This breaks the delegate interface out of the rest of password manager system and makes FillData not an inner-class so anyone can forward declare FillData instead of having to include the header to meet a delegate interface. BUG=none TEST=none Review URL: http://codereview.chromium.org/2877022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52726 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r--chrome/common/render_messages.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index 826703e..08b5518 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -1234,8 +1234,8 @@ struct ParamTraits<WebPluginInfo> {
// Traits for webkit_glue::PasswordFormDomManager::FillData.
template <>
-struct ParamTraits<webkit_glue::PasswordFormDomManager::FillData> {
- typedef webkit_glue::PasswordFormDomManager::FillData param_type;
+struct ParamTraits<webkit_glue::PasswordFormFillData> {
+ typedef webkit_glue::PasswordFormFillData param_type;
static void Write(Message* m, const param_type& p) {
WriteParam(m, p.basic_data);
WriteParam(m, p.additional_logins);
@@ -1248,7 +1248,7 @@ struct ParamTraits<webkit_glue::PasswordFormDomManager::FillData> {
ReadParam(m, iter, &r->wait_for_username);
}
static void Log(const param_type& p, std::wstring* l) {
- l->append(L"<PasswordFormDomManager::FillData>");
+ l->append(L"<PasswordFormFillData>");
}
};