summaryrefslogtreecommitdiffstats
path: root/components/autofill
diff options
context:
space:
mode:
authorkaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 20:53:22 +0000
committerkaiwang@chromium.org <kaiwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-17 20:53:22 +0000
commit21293f74fca1ffea704f89df0b258cc2e49ed023 (patch)
treee486ff69cc4548df5cd64f49e484f91258467166 /components/autofill
parent0de20ce13f83d2df051841a79c94b2823b89ff83 (diff)
downloadchromium_src-21293f74fca1ffea704f89df0b258cc2e49ed023.zip
chromium_src-21293f74fca1ffea704f89df0b258cc2e49ed023.tar.gz
chromium_src-21293f74fca1ffea704f89df0b258cc2e49ed023.tar.bz2
Generate autofill messages inside the component
BUG=140037 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/14312006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/autofill')
-rw-r--r--components/autofill/common/autofill_message_generator.cc33
-rw-r--r--components/autofill/common/autofill_message_generator.h7
-rw-r--r--components/autofill/common/autofill_messages.h1
3 files changed, 41 insertions, 0 deletions
diff --git a/components/autofill/common/autofill_message_generator.cc b/components/autofill/common/autofill_message_generator.cc
new file mode 100644
index 0000000..56ac7c1
--- /dev/null
+++ b/components/autofill/common/autofill_message_generator.cc
@@ -0,0 +1,33 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Get basic type definitions.
+#define IPC_MESSAGE_IMPL
+#include "components/autofill/common/autofill_message_generator.h"
+
+// Generate constructors.
+#include "ipc/struct_constructor_macros.h"
+#include "components/autofill/common/autofill_message_generator.h"
+
+// Generate destructors.
+#include "ipc/struct_destructor_macros.h"
+#include "components/autofill/common/autofill_message_generator.h"
+
+// Generate param traits write methods.
+#include "ipc/param_traits_write_macros.h"
+namespace IPC {
+#include "components/autofill/common/autofill_message_generator.h"
+} // namespace IPC
+
+// Generate param traits read methods.
+#include "ipc/param_traits_read_macros.h"
+namespace IPC {
+#include "components/autofill/common/autofill_message_generator.h"
+} // namespace IPC
+
+// Generate param traits log methods.
+#include "ipc/param_traits_log_macros.h"
+namespace IPC {
+#include "components/autofill/common/autofill_message_generator.h"
+} // namespace IPC
diff --git a/components/autofill/common/autofill_message_generator.h b/components/autofill/common/autofill_message_generator.h
new file mode 100644
index 0000000..993b68d8
--- /dev/null
+++ b/components/autofill/common/autofill_message_generator.h
@@ -0,0 +1,7 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Multiply-included file, hence no include guard.
+
+#include "components/autofill/common/autofill_messages.h"
diff --git a/components/autofill/common/autofill_messages.h b/components/autofill/common/autofill_messages.h
index afab402..6b91af4 100644
--- a/components/autofill/common/autofill_messages.h
+++ b/components/autofill/common/autofill_messages.h
@@ -14,6 +14,7 @@
#include "components/autofill/common/form_field_data_predictions.h"
#include "components/autofill/common/password_form_fill_data.h"
#include "components/autofill/common/web_element_descriptor.h"
+#include "content/public/common/common_param_traits.h"
#include "content/public/common/common_param_traits_macros.h"
#include "content/public/common/password_form.h"
#include "content/public/common/ssl_status.h"