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

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

Issue 2839813005: PaymentHandler: Fix a typo (camelCase to hacker_case). (Closed)
Patch Set: PaymentHandler: Fix a typo (camelCase to hacker_case). Created 3 years, 8 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 | « no previous file | components/payments/mojom/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 6f08a1ab135f5d147f1bfb3424688ae8c29a83fc..1b0587dda50d9722b10cc483f0d14371e74f417b 100644
--- a/chrome/browser/android/payments/service_worker_payment_app_bridge.cc
+++ b/chrome/browser/android/payments/service_worker_payment_app_bridge.cc
@@ -109,7 +109,7 @@ static void InvokePaymentApp(JNIEnv* env,
PaymentAppRequestPtr app_request = PaymentAppRequest::New();
- app_request->optionId = ConvertJavaStringToUTF8(env, joption_id);
+ app_request->option_id = ConvertJavaStringToUTF8(env, joption_id);
app_request->origin = GURL(ConvertJavaStringToUTF8(env, jorigin));
for (jsize i = 0; i < env->GetArrayLength(jmethod_data); i++) {
@@ -126,7 +126,7 @@ static void InvokePaymentApp(JNIEnv* env,
env,
Java_ServiceWorkerPaymentAppBridge_getStringifiedDataFromMethodData(
env, element));
- app_request->methodData.push_back(std::move(methodData));
+ app_request->method_data.push_back(std::move(methodData));
}
app_request->total = PaymentItem::New();
« no previous file with comments | « no previous file | components/payments/mojom/payment_app.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698