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

Unified Diff: components/payments/content/payment_request_state.cc

Issue 2772103002: [Payments] Desktop: never return false in incognito mode for canMakePayment (Closed)
Patch Set: Created 3 years, 9 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_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/content/payment_request_state.cc
diff --git a/components/payments/content/payment_request_state.cc b/components/payments/content/payment_request_state.cc
index f727b09e80f77e3445789fb1da7b51048cb383db..ba3941ab167c85a5d5cd71546cf1e721077806fe 100644
--- a/components/payments/content/payment_request_state.cc
+++ b/components/payments/content/payment_request_state.cc
@@ -35,7 +35,6 @@ PaymentRequestState::PaymentRequestState(
}
bool PaymentRequestState::CanMakePayment() const {
- // TODO(crbug.com/704675): Handle incognito mode when replying to this method.
for (const std::unique_ptr<PaymentInstrument>& instrument :
available_instruments_) {
if (instrument.get()->IsValid() &&
« no previous file with comments | « components/payments/content/payment_request_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698