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: content/browser/payments/payment_app_manager.cc

Issue 2562873002: [PaymentApp] label field was changed to name field in PaymentAppOption. (Closed)
Patch Set: [WIP] [PaymentApp] label -> name in PaymentAppOption. Created 4 years 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: content/browser/payments/payment_app_manager.cc
diff --git a/content/browser/payments/payment_app_manager.cc b/content/browser/payments/payment_app_manager.cc
index bb75263c60052a26af04bdf97ad0ad75402766c1..a8928a710133610f0ff3f9f1e173ab415f24dcbe 100644
--- a/content/browser/payments/payment_app_manager.cc
+++ b/content/browser/payments/payment_app_manager.cc
@@ -89,7 +89,7 @@ void PaymentAppManager::DidFindRegistrationToSetManifest(
for (const auto& option : manifest->options) {
PaymentAppOptionProto* option_proto = manifest_proto.add_options();
- option_proto->set_label(option->label);
+ option_proto->set_name(option->name);
if (option->icon)
option_proto->set_icon(option->icon.value());
option_proto->set_id(option->id);
@@ -163,7 +163,7 @@ void PaymentAppManager::DidGetManifest(const GetManifestCallback& callback,
for (const auto& option_proto : manifest_proto.options()) {
payments::mojom::PaymentAppOptionPtr option =
payments::mojom::PaymentAppOption::New();
- option->label = option_proto.label();
+ option->name = option_proto.name();
if (option_proto.has_icon())
option->icon = option_proto.icon();
option->id = option_proto.id();

Powered by Google App Engine
This is Rietveld 408576698