Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Unified Diff: components/payments/content/payment_request.h

Issue 2815763002: Prevent usage of web payments API over insecure HTTPS. (Closed)
Patch Set: Self-review Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/payments/content/payment_request.h
diff --git a/components/payments/content/payment_request.h b/components/payments/content/payment_request.h
index ad2abed152af61c4dc94ff5cb9f5cb6bb1291d13..b6faef6bfb9e5f5de0418a263fce8bee8cb25623 100644
--- a/components/payments/content/payment_request.h
+++ b/components/payments/content/payment_request.h
@@ -37,6 +37,7 @@ class PaymentRequest : public mojom::PaymentRequest,
class ObserverForTest {
public:
virtual void OnCanMakePaymentCalled() = 0;
+ virtual void OnNotSupportedError() = 0;
protected:
virtual ~ObserverForTest() {}
@@ -62,7 +63,6 @@ class PaymentRequest : public mojom::PaymentRequest,
// PaymentRequestSpec::Observer:
void OnSpecUpdated() override {}
- void OnInvalidSpecProvided() override;
// PaymentRequestState::Delegate:
void OnPaymentResponseAvailable(mojom::PaymentResponsePtr response) override;

Powered by Google App Engine
This is Rietveld 408576698