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

Unified Diff: components/payments/currency_formatter.h

Issue 2649143003: PaymentRequest: The currencySystem should be non-nullable. (Closed)
Patch Set: PaymentRequest: The currencySystem should be non-nullable. Created 3 years, 11 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/currency_formatter.h
diff --git a/components/payments/currency_formatter.h b/components/payments/currency_formatter.h
index 2794b37dccec65344dd464477185ae63e976f669..1995476c2faf046305149b76071216db3ce91a1a 100644
--- a/components/payments/currency_formatter.h
+++ b/components/payments/currency_formatter.h
@@ -29,7 +29,7 @@ class CurrencyFormatter {
// |currency_system| should have been validated (as part of
// payment_details_validation.h) before this is created.
CurrencyFormatter(const std::string& currency_code,
- const base::Optional<std::string> currency_system,
+ const std::string& currency_system,
const std::string& locale_name);
~CurrencyFormatter();
« no previous file with comments | « components/payments/android/currency_formatter_android.cc ('k') | components/payments/currency_formatter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698