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

Unified Diff: components/payments/content/payment_request_spec.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_spec.h
diff --git a/components/payments/content/payment_request_spec.h b/components/payments/content/payment_request_spec.h
index de0187a5aaa7259afcab1281bccf8be0c884232d..86502979afa45e086ea94211cc1f2a77b9eb6f8f 100644
--- a/components/payments/content/payment_request_spec.h
+++ b/components/payments/content/payment_request_spec.h
@@ -37,9 +37,6 @@ class PaymentRequestSpec : public PaymentOptionsProvider {
// notification about spec events.
class Observer {
public:
- // Called when the provided spec (details, options, method_data) is invalid.
- virtual void OnInvalidSpecProvided() = 0;
-
// Called when the website is notified that the user selected shipping
// options or a shipping address. This will be followed by a call to
// OnSpecUpdated or the PaymentRequest being aborted due to a timeout.
@@ -118,8 +115,6 @@ class PaymentRequestSpec : public PaymentOptionsProvider {
// the last option marked selected in the options array.
void UpdateSelectedShippingOption();
- // Will notify all observers that the spec is invalid.
- void NotifyOnInvalidSpecProvided();
// Will notify all observers that the spec has changed.
void NotifyOnSpecUpdated();

Powered by Google App Engine
This is Rietveld 408576698