// Copyright 2020 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_DATA_MODEL_AUTOFILL_OFFER_DATA_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_AUTOFILL_OFFER_DATA_H_ #include <optional> #include <string> #include <vector> #include "base/time/time.h" #include "url/gurl.h" namespace autofill { // Server-driven strings for certain Offer UI elements. struct DisplayStrings { … }; // Represents an offer for certain merchants. Card-linked offers are redeemable // with certain cards, and the unique ids of those cards are stored in // |eligible_instrument_id|. Promo code offers are redeemable with autofillable // promo codes. Merchants are determined by |merchant_origins|. class AutofillOfferData { … }; } // namespace autofill #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_DATA_MODEL_AUTOFILL_OFFER_DATA_H_