chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc
// Returns true if |input| should be used to fill a site-requested |field| which
// is notated with a "shipping" tag, for use when the user has decided to use
// the billing address as the shipping address.
Returns true if |input| should be used to fill a site-requested |field| which
is notated with a "shipping" tag, for use when the user has decided to use
the billing address as the shipping address.
Returns true if |input| should be used to fill a site - requested |field| which is notated with a " shipping " tag for use when the user has decided to use the billing address as the shipping address .
bool DetailInputMatchesShippingField(const DetailInput& input,
                                     const AutofillField& field) {
  if (input.section_suffix &&
      std::string(input.section_suffix) == "billing") {
    return InputTypeMatchesFieldType(input, field);
  }
  if (field.type() == NAME_FULL)
    return input.type == CREDIT_CARD_NAME;
  return DetailInputMatchesField(input, field);
}
bool DetailInputMatchesShippingField ( const DetailInput & input , const AutofillField & field ) { if ( input . section_suffix && std :: string ( input . section_suffix ) == " " ) { return InputTypeMatchesFieldType ( input , field ) ; } if ( field . type ( ) == NAME_FULL ) return input . type == CREDIT_CARD_NAME ; return DetailInputMatchesField ( input , field ) ; }
Returns true if |input| should be used to fill a site-requested |field| which
is notated with a "shipping" tag, for use when the user has decided to use
the billing address as the shipping address.
Returns true if |input| should be used to fill a site - requested |field| which is notated with a " shipping " tag for use when the user has decided to use the billing address as the shipping address .