Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / components / autofill / content / common / autofill_param_traits_macros.h
index d900664..b70051a 100644 (file)
@@ -11,7 +11,8 @@
 #include "components/autofill/core/common/password_form.h"
 #include "ipc/ipc_message_macros.h"
 
-IPC_ENUM_TRAITS(autofill::PasswordForm::Type)
+IPC_ENUM_TRAITS_MAX_VALUE(autofill::PasswordForm::Type,
+                          autofill::PasswordForm::TYPE_LAST)
 
 IPC_STRUCT_TRAITS_BEGIN(autofill::FormData)
   IPC_STRUCT_TRAITS_MEMBER(name)
@@ -41,6 +42,8 @@ IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordForm)
   IPC_STRUCT_TRAITS_MEMBER(type)
   IPC_STRUCT_TRAITS_MEMBER(times_used)
   IPC_STRUCT_TRAITS_MEMBER(form_data)
+  // Excluding |use_additional_authentication| as it is only set and read in the
+  // browser process and the renderer need not know about it.
 IPC_STRUCT_TRAITS_END()
 
 #endif  // COMPONENTS_AUTOFILL_CONTENT_COMMON_AUTOFILL_PARAM_TRAITS_MACROS_H_