#include "components/autofill/core/browser/payments/offer_notification_handler.h"
#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/data_model/autofill_offer_data.h"
#include "components/autofill/core/browser/data_model/credit_card.h"
#include "components/autofill/core/browser/payments/autofill_offer_manager.h"
#include "components/autofill/core/browser/payments/offer_notification_options.h"
#include "components/autofill/core/browser/payments/payments_autofill_client.h"
#include "url/gurl.h"
namespace autofill {
namespace {
bool IsOfferValid(AutofillOfferData* offer) { … }
}
OfferNotificationHandler::OfferNotificationHandler(
AutofillOfferManager* offer_manager)
: … { … }
OfferNotificationHandler::~OfferNotificationHandler() = default;
void OfferNotificationHandler::UpdateOfferNotificationVisibility(
AutofillClient& client) { … }
void OfferNotificationHandler::ClearShownNotificationIdForTesting() { … }
void OfferNotificationHandler::AddShownNotificationIdForTesting(
int64_t shown_notification_id) { … }
bool OfferNotificationHandler::ValidOfferExistsForUrl(const GURL& url) { … }
}