summaryrefslogtreecommitdiff
path: root/chromium/components/autofill/core/browser/form_structure.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/autofill/core/browser/form_structure.h')
-rw-r--r--chromium/components/autofill/core/browser/form_structure.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/components/autofill/core/browser/form_structure.h b/chromium/components/autofill/core/browser/form_structure.h
index d02b31beeab..9a8e4de1b6d 100644
--- a/chromium/components/autofill/core/browser/form_structure.h
+++ b/chromium/components/autofill/core/browser/form_structure.h
@@ -208,6 +208,8 @@ class FormStructure {
const GURL& target_url() const { return target_url_; }
+ const GURL& main_frame_url() const { return main_frame_url_; }
+
bool has_author_specified_types() const {
return has_author_specified_types_;
}
@@ -303,6 +305,9 @@ class FormStructure {
// The target URL.
GURL target_url_;
+ // The source URL of the main frame of this form.
+ GURL main_frame_url_;
+
// The number of fields able to be auto-filled.
size_t autofill_count_;