blob: 9e666541661438920e093ad9113b706c373009cc [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_
#define COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_
namespace autofill {
class PersonalDataManager;
}
namespace payments {
class PaymentRequest;
class PaymentRequestDelegate {
public:
virtual ~PaymentRequestDelegate() {}
// Shows the Payment Request dialog for the given |request|.
virtual void ShowPaymentRequestDialog(PaymentRequest* request) = 0;
// Gets the PersonalDataManager associated with this PaymentRequest flow.
virtual autofill::PersonalDataManager* GetPersonalDataManager() = 0;
};
} // namespace payments
#endif // COMPONENTS_PAYMENTS_PAYMENT_REQUEST_DELEGATE_H_