Index: components/payments/payment_request.h |
diff --git a/components/payments/payment_request.h b/components/payments/payment_request.h |
index a2caab97efc406552fd2438d0f4e1817e0d26f92..cd54b7cbcebac0e7c0f69c4430af6aa567740a0c 100644 |
--- a/components/payments/payment_request.h |
+++ b/components/payments/payment_request.h |
@@ -9,8 +9,10 @@ |
#include <string> |
#include <vector> |
+#include "components/autofill/core/browser/personal_data_manager.h" |
#include "components/payments/currency_formatter.h" |
#include "components/payments/payment_request.mojom.h" |
+#include "components/payments/payment_request_delegate.h" |
#include "mojo/public/cpp/bindings/binding.h" |
namespace autofill { |
@@ -24,7 +26,6 @@ class WebContents; |
namespace payments { |
-class PaymentRequestDelegate; |
class PaymentRequestWebContentsManager; |
class PaymentRequest : payments::mojom::PaymentRequest { |
@@ -95,6 +96,10 @@ class PaymentRequest : payments::mojom::PaymentRequest { |
// card. |
autofill::CreditCard* GetCurrentlySelectedCreditCard(); |
+ autofill::PersonalDataManager* personal_data_manager() { |
+ return delegate_->GetPersonalDataManager(); |
+ } |
+ |
payments::mojom::PaymentDetails* details() { return details_.get(); } |
content::WebContents* web_contents() { return web_contents_; } |