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

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

Issue 2735803003: [WebPayments] Extracting common code from Shipping + Contact Info views. (Closed)
Patch Set: monday rebase 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 | « chrome/browser/ui/views/payments/shipping_list_view_controller.cc ('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.h
diff --git a/components/payments/content/payment_request.h b/components/payments/content/payment_request.h
index 4a6507ddc24a53997e1c84bbf5accbe3af18fc60..7933e61ffcd379d0b5e751265c5209d81006830d 100644
--- a/components/payments/content/payment_request.h
+++ b/components/payments/content/payment_request.h
@@ -143,6 +143,7 @@ class PaymentRequest : public mojom::PaymentRequest,
autofill::PersonalDataManager* personal_data_manager() {
return delegate_->GetPersonalDataManager();
}
+ const std::string& locale() { return delegate_->GetApplicationLocale(); }
payments::mojom::PaymentDetails* details() { return details_.get(); }
payments::mojom::PaymentOptions* options() { return options_.get(); }
« no previous file with comments | « chrome/browser/ui/views/payments/shipping_list_view_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698