Home | History | Annotate | Download | only in common
      1 // Copyright 2013 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_
      6 #define COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_
      7 
      8 namespace autofill {
      9 
     10 // Specifies the nature of the forms triggering the call.
     11 enum FormsSeenState {
     12   // Forms present on page load with no additional unsent forms.
     13   NO_SPECIAL_FORMS_SEEN = 0,
     14   // If this an Autocheckout page, there are more that should be checked.
     15   PARTIAL_FORMS_SEEN = 1,
     16   // Forms were added dynamically post-page load.
     17   DYNAMIC_FORMS_SEEN = 2,
     18   // Number of states.
     19   FORMS_SEEN_STATE_NUM_STATES = 3,
     20 };
     21 
     22 }  // namespace autofill
     23 
     24 #endif  // COMPONENTS_AUTOFILL_COMMON_FORMS_SEEN_PARAM_H_
     25