Index: components/autofill/core/common/forms_seen_state.h |
diff --git a/components/autofill/core/common/forms_seen_state.h b/components/autofill/core/common/forms_seen_state.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..da417f96b54d3180e2b3b77168e98c454f911cc1 |
--- /dev/null |
+++ b/components/autofill/core/common/forms_seen_state.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_ |
+#define COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_ |
+ |
+namespace autofill { |
+ |
+// Specifies the nature of the forms triggering the call. |
+enum FormsSeenState { |
+ // Forms present on page load with no additional unsent forms. |
+ NO_SPECIAL_FORMS_SEEN = 0, |
+ // If this an Autocheckout page, there are more that should be checked. |
+ PARTIAL_FORMS_SEEN = 1, |
+ // Forms were added dynamically post-page load. |
+ DYNAMIC_FORMS_SEEN = 2, |
+ // Number of states. |
+ FORMS_SEEN_STATE_NUM_STATES = 3, |
+}; |
+ |
+} // namespace autofill |
+ |
+#endif // COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_ |