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

// Copyright 2013 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/form_data.h"

#include <stddef.h>
#include <string_view>
#include <tuple>

#include "base/base64.h"
#include "base/metrics/histogram_macros.h"
#include "base/pickle.h"
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/common/form_field_data.h"
#include "components/autofill/core/common/logging/log_buffer.h"

namespace autofill {

namespace {

const int kFormDataPickleVersion =;

bool ReadGURL(base::PickleIterator* iter, GURL* url) {}

bool ReadOrigin(base::PickleIterator* iter, url::Origin* origin) {}

void SerializeFormFieldDataVector(const std::vector<FormFieldData>& fields,
                                  base::Pickle* pickle) {}

bool DeserializeFormFieldDataVector(base::PickleIterator* iter,
                                    std::vector<FormFieldData>* fields) {}

void LogDeserializationError(int version) {}

}  // namespace

FrameTokenWithPredecessor::FrameTokenWithPredecessor() = default;
FrameTokenWithPredecessor::FrameTokenWithPredecessor(
    const FrameTokenWithPredecessor&) = default;
FrameTokenWithPredecessor::FrameTokenWithPredecessor(
    FrameTokenWithPredecessor&&) = default;
FrameTokenWithPredecessor& FrameTokenWithPredecessor::operator=(
    const FrameTokenWithPredecessor&) = default;
FrameTokenWithPredecessor& FrameTokenWithPredecessor::operator=(
    FrameTokenWithPredecessor&&) = default;
FrameTokenWithPredecessor::~FrameTokenWithPredecessor() = default;

FormData::FormData() = default;

FormData::FormData(const FormData&) = default;

FormData& FormData::operator=(const FormData&) = default;

FormData::FormData(FormData&&) = default;

FormData& FormData::operator=(FormData&&) = default;

FormData::~FormData() = default;

bool FormData::SameFormAs(const FormData& form) const {}

// static
bool FormData::DeepEqual(const FormData& a, const FormData& b) {}

bool FormHasNonEmptyPasswordField(const FormData& form) {}

std::ostream& operator<<(std::ostream& os, const FormData& form) {}

const FormFieldData* FormData::FindFieldByGlobalId(
    const FieldGlobalId& global_id) const {}

FormFieldData* FormData::FindFieldByNameForTest(
    std::u16string_view name_or_id) {}

void SerializeFormData(const FormData& form_data, base::Pickle* pickle) {}

bool DeserializeFormData(base::PickleIterator* iter, FormData* form_data) {}

LogBuffer& operator<<(LogBuffer& buffer, const FormData& form) {}

}  // namespace autofill