Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: components/autofill/content/renderer/provisionally_saved_password_form.h

Issue 2859243004: Add metrics for PasswordForm submission types (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/content/renderer/provisionally_saved_password_form.h
diff --git a/components/autofill/content/renderer/provisionally_saved_password_form.h b/components/autofill/content/renderer/provisionally_saved_password_form.h
index 318eb189aedac95a6e3a9b74f690af167715fd7a..177cf48fe3fa6426e646d230811827d1e11e8f0a 100644
--- a/components/autofill/content/renderer/provisionally_saved_password_form.h
+++ b/components/autofill/content/renderer/provisionally_saved_password_form.h
@@ -8,6 +8,7 @@
#include <memory>
#include "base/macros.h"
+#include "components/autofill/core/common/password_form.h"
#include "third_party/WebKit/public/web/WebInputElement.h"
namespace autofill {
@@ -41,6 +42,9 @@ class ProvisionallySavedPasswordForm {
const blink::WebFormElement& form_element() const { return form_element_; }
const blink::WebInputElement& input_element() const { return input_element_; }
+ void SetSubmissionIndicatorEvent(
+ PasswordForm::SubmissionIndicatorEvent event);
+
private:
std::unique_ptr<PasswordForm> password_form_;
// Last used WebFormElement for the PasswordForm submission. Can be null if

Powered by Google App Engine
This is Rietveld 408576698