Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / components / autofill / core / common / password_form.h
index 1ab6905..2c82729 100644 (file)
@@ -170,6 +170,7 @@ struct PasswordForm {
   enum Type {
     TYPE_MANUAL,
     TYPE_GENERATED,
+    TYPE_LAST = TYPE_GENERATED
   };
 
   // The form type. Not used yet. Please see http://crbug.com/152422
@@ -181,6 +182,12 @@ struct PasswordForm {
   // When parsing an HTML form, this is not used.
   int times_used;
 
+  // True if additional system level authentication should be used
+  // (if available) before using this password for autofill.
+  //
+  // Default to false.
+  bool use_additional_authentication;
+
   // Autofill representation of this form. Used to communicate with the
   // Autofill servers if necessary. Currently this is only used to help
   // determine forms where we can trigger password generation.