chromium/components/autofill/core/common/autofill_util.cc

// Copyright 2015 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/common/autofill_util.h"

#include <string>
#include <string_view>
#include <vector>

#include "base/command_line.h"
#include "base/i18n/rtl.h"
#include "base/no_destructor.h"
#include "base/strings/strcat.h"
#include "base/strings/string_split.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/common/autofill_switches.h"

namespace autofill {

FocusedFieldType;
SubmissionIndicatorEvent;
SubmissionSource;

bool IsShowAutofillSignaturesEnabled() {}

bool IsPrefixOfEmailEndingWithAtSign(std::u16string_view full_string,
                                     std::u16string_view prefix) {}

bool IsCheckable(const FormFieldData::CheckStatus& check_status) {}

bool IsChecked(const FormFieldData::CheckStatus& check_status) {}

void SetCheckStatus(FormFieldData* form_field_data,
                    bool isCheckable,
                    bool isChecked) {}

std::vector<std::string> LowercaseAndTokenizeAttributeString(
    std::string_view attribute) {}

std::u16string RemoveWhitespace(std::u16string_view value) {}

std::u16string SanitizeCreditCardFieldValue(std::u16string_view value) {}

bool SanitizedFieldIsEmpty(std::u16string_view value) {}

bool IsFillable(FocusedFieldType focused_field_type) {}

SubmissionIndicatorEvent ToSubmissionIndicatorEvent(SubmissionSource source) {}

GURL StripAuthAndParams(const GURL& gurl) {}

bool IsAutofillManuallyTriggered(
    AutofillSuggestionTriggerSource trigger_source) {}

bool IsAddressAutofillManuallyTriggered(
    AutofillSuggestionTriggerSource trigger_source) {}

bool IsPaymentsAutofillManuallyTriggered(
    AutofillSuggestionTriggerSource trigger_source) {}

bool IsPasswordsAutofillManuallyTriggered(
    AutofillSuggestionTriggerSource trigger_source) {}

bool IsPlusAddressesManuallyTriggered(
    AutofillSuggestionTriggerSource trigger_source) {}

}  // namespace autofill