Upstream version 10.38.208.0
[platform/framework/web/crosswalk.git] / src / components / password_manager / core / browser / password_form_manager.h
index 0b69c6c..a4fa82e 100644 (file)
@@ -11,6 +11,7 @@
 #include "build/build_config.h"
 
 #include "base/stl_util.h"
+#include "components/autofill/core/browser/field_types.h"
 #include "components/autofill/core/common/password_form.h"
 #include "components/password_manager/core/browser/password_manager_driver.h"
 #include "components/password_manager/core/browser/password_store.h"
@@ -263,6 +264,11 @@ class PasswordFormManager : public PasswordStoreConsumer {
   // duplicates.
   void SanitizePossibleUsernames(autofill::PasswordForm* form);
 
+  // Helper function to delegate uploading to the AutofillManager.
+  virtual void UploadPasswordForm(
+      const autofill::FormData& form_data,
+      const autofill::ServerFieldType& password_type);
+
   // Set of PasswordForms from the DB that best match the form
   // being managed by this. Use a map instead of vector, because we most
   // frequently require lookups by username value in IsNewLogin.