chromium/components/optimization_guide/core/optimization_guide_proto_util.cc

// Copyright 2024 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/optimization_guide/core/optimization_guide_proto_util.h"

#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/common/form_data.h"
#include "components/optimization_guide/proto/features/common_quality_data.pb.h"

namespace optimization_guide {

namespace {

// Converts `form_control_type` to its corresponding proto enum.
optimization_guide::proto::FormControlType ToFormControlTypeProto(
    autofill::FormControlType form_control_type) {}

}  // namespace

optimization_guide::proto::FormData ToFormDataProto(
    const autofill::FormData& form_data) {}

}  // namespace optimization_guide