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

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

Issue 2815763002: Prevent usage of web payments API over insecure HTTPS. (Closed)
Patch Set: Fix typo 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 d609c83d996dabb93d9fdcbbb6cb0693bdfad521..9d0ff09c0141bc370f93e4257113535d841ee5c1 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;
« no previous file with comments | « components/payments/content/origin_security_checker.cc ('k') | components/payments/content/payment_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698