Index: components/payments/core/payment_request_delegate.h |
diff --git a/components/payments/core/payment_request_delegate.h b/components/payments/core/payment_request_delegate.h |
index aab278af6f26e96b19f054d2773044f4144652cb..864324b5352539745ccadb0a59aaaee13a4768b0 100644 |
--- a/components/payments/core/payment_request_delegate.h |
+++ b/components/payments/core/payment_request_delegate.h |
@@ -13,6 +13,8 @@ |
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/source.h" |
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/storage.h" |
+class GURL; |
+ |
namespace i18n { |
namespace addressinput { |
class Storage; |
@@ -53,6 +55,13 @@ class PaymentRequestDelegate { |
// Returns whether the user is in Incognito mode. |
virtual bool IsIncognito() const = 0; |
+ // Returns true if the SSL certificate is valid. Should be called only for |
+ // cryptographic schemes. |
+ virtual bool IsValidSslCertificate() = 0; |
+ |
+ // Returns the URL of the page that is currently being displayed. |
+ virtual const GURL& GetLastCommittedURL() const = 0; |
+ |
// Starts a FullCardRequest to unmask |credit_card|. |
virtual void DoFullCardRequest( |
const autofill::CreditCard& credit_card, |