// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_PARSING_FIELD_CANDIDATES_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_PARSING_FIELD_CANDIDATES_H_ #include <vector> #include "base/containers/flat_map.h" #include "components/autofill/core/browser/field_types.h" #include "components/autofill/core/common/unique_ids.h" namespace autofill { // Represents a possible type for a given field. struct FieldCandidate { … }; // Each field can be of different types. This class collects all these possible // types and determines which type is the most likely. class FieldCandidates { … }; // A map from the field's global ID to its possible candidates. FieldCandidatesMap; } // namespace autofill #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_PARSING_FIELD_CANDIDATES_H_