chromium/components/autofill/core/browser/autofill_plus_address_delegate.h

// 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.

#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_PLUS_ADDRESS_DELEGATE_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_PLUS_ADDRESS_DELEGATE_H_

#include <string>
#include <vector>

#include "base/functional/callback_forward.h"
#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/ui/suggestion_type.h"
#include "components/autofill/core/common/aliases.h"

namespace url {
class Origin;
}  // namespace url

namespace autofill {

struct Suggestion;

// The interface for communication from //components/autofill to
// //components/plus_addresses.
//
// In general, plus addresses uses Autofill as a platform/API: Plus addresses is
// informed about certain renderer events (e.g. user focus on an appropriate
// textfield) and may choose to trigger Autofill to field the field. Therefore
// //components/plus_addresses should depend on //components/autofill. To still
// allow communication from //components/autofill to
// //components/plus_addresses, this interface exists and is injected via
// `AutofillClient`.
class AutofillPlusAddressDelegate {};

}  // namespace autofill

#endif  // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_PLUS_ADDRESS_DELEGATE_H_