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

Unified Diff: chrome/browser/ui/views/payments/payment_request_browsertest_base.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: chrome/browser/ui/views/payments/payment_request_browsertest_base.h
diff --git a/chrome/browser/ui/views/payments/payment_request_browsertest_base.h b/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
index 3f90fe8c1d78bfa12254750478890b65933ec9a2..6ae99eaf464cc8804f050127380aa651e2e9ce32 100644
--- a/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
+++ b/chrome/browser/ui/views/payments/payment_request_browsertest_base.h
@@ -75,6 +75,7 @@ class PaymentRequestBrowserTestBase
// PaymentRequest::ObserverForTest:
void OnCanMakePaymentCalled() override;
+ void OnNotSupportedError() override;
// PaymentRequestDialogView::ObserverForTest:
void OnDialogOpened() override;
@@ -101,6 +102,7 @@ class PaymentRequestBrowserTestBase
void InvokePaymentRequestUI();
// Will expect that all strings in |expected_strings| are present in output.
+ void ExpectBodyContains(const std::vector<std::string>& expected_strings);
void ExpectBodyContains(const std::vector<base::string16>& expected_strings);
// Utility functions that will click on Dialog views and wait for the
@@ -205,6 +207,7 @@ class PaymentRequestBrowserTestBase
ERROR_MESSAGE_SHOWN,
SPEC_DONE_UPDATING,
CVC_PROMPT_SHOWN,
+ NOT_SUPPORTED_ERROR,
};
// DialogEventObserver is used to wait on specific events that may have

Powered by Google App Engine
This is Rietveld 408576698