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

Unified Diff: components/payments/content/payment_request_spec.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
« no previous file with comments | « components/payments/content/payment_request.cc ('k') | components/payments/content/payment_request_spec.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5d9273b6d2e5146a0e3c45149b65b04b92fcfc46..905cfb5fcc6533e7ce680f7f870bcf6b4376bb2c 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();
« no previous file with comments | « components/payments/content/payment_request.cc ('k') | components/payments/content/payment_request_spec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698