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

Unified Diff: chrome/browser/android/payments/service_worker_payment_app_bridge.cc

Issue 2562873002: [PaymentApp] label field was changed to name field in PaymentAppOption. (Closed)
Patch Set: rebase 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
« no previous file with comments | « no previous file | components/payments/payment_app.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/payments/service_worker_payment_app_bridge.cc
diff --git a/chrome/browser/android/payments/service_worker_payment_app_bridge.cc b/chrome/browser/android/payments/service_worker_payment_app_bridge.cc
index 7697a7d38e8f91df1496d86ab09bbcf235bb5e93..3421925cb66a2c7fc9bcd7b01432ce4c55bbcb8f 100644
--- a/chrome/browser/android/payments/service_worker_payment_app_bridge.cc
+++ b/chrome/browser/android/payments/service_worker_payment_app_bridge.cc
@@ -32,14 +32,14 @@ static ScopedJavaLocalRef<jobject> GetAllAppManifests(
ScopedJavaLocalRef<jobject> java_manifest =
Java_ServiceWorkerPaymentAppBridge_createAndAddManifest(
env, java_manifests, ConvertUTF8ToJavaString(env, scope_url),
- ConvertUTF8ToJavaString(env, manifest->label),
+ ConvertUTF8ToJavaString(env, manifest->name),
manifest->icon ? ConvertUTF8ToJavaString(env, *manifest->icon)
: nullptr);
for (const auto& option : manifest->options) {
ScopedJavaLocalRef<jobject> java_option =
Java_ServiceWorkerPaymentAppBridge_createAndAddOption(
env, java_manifest, ConvertUTF8ToJavaString(env, option->id),
- ConvertUTF8ToJavaString(env, option->label),
+ ConvertUTF8ToJavaString(env, option->name),
option->icon ? ConvertUTF8ToJavaString(env, *option->icon)
: nullptr);
for (const auto& enabled_method : option->enabled_methods) {
« no previous file with comments | « no previous file | components/payments/payment_app.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698