// Copyright 2021 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/form_processing/label_processing_util.h" #include <string_view> #include "base/ranges/algorithm.h" #include "base/strings/string_split.h" #include "base/strings/utf_string_conversions.h" namespace autofill { LabelPieces; // The maximum number of fields that can share a label. const int kMaxNumberOfFieldsToShareALabel = …; // The maximum length of a label that can be shared among fields. const int kMaxLengthOfShareableLabel = …; std::optional<std::vector<std::u16string>> GetParseableLabels( const LabelPieces& labels) { … } } // namespace autofill