chromium/components/autofill/core/browser/field_types.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/autofill/core/browser/field_types.h"

#include <string_view>

#include "base/containers/fixed_flat_map.h"
#include "base/no_destructor.h"
#include "base/notreached.h"
#include "components/autofill/core/common/autofill_features.h"
#include "components/autofill/core/common/autofill_payments_features.h"

namespace autofill {

std::ostream& operator<<(std::ostream& o, FieldTypeSet field_type_set) {}

// This map should be extended for every added FieldType.
// You are free to add or remove the String representation of FieldType,
// but don't change any existing values, Android WebView presents them to
// Autofill Service as part of APIs.
static constexpr auto kTypeNameToFieldType =;

bool IsFillableFieldType(FieldType field_type) {}

std::string_view FieldTypeToStringView(FieldType type) {}

std::string FieldTypeToString(FieldType type) {}

FieldType TypeNameToFieldType(std::string_view type_name) {}

std::string_view FieldTypeToDeveloperRepresentationString(FieldType type) {}

FieldTypeSet GetFieldTypesOfGroup(FieldTypeGroup group) {}

FieldTypeGroup GroupTypeOfFieldType(FieldType field_type) {}

FieldTypeGroup GroupTypeOfHtmlFieldType(HtmlFieldType field_type) {}

FieldType HtmlFieldTypeToBestCorrespondingFieldType(HtmlFieldType field_type) {}

}  // namespace autofill