| Index: components/autofill/core/browser/payments/payments_client.h
|
| diff --git a/components/autofill/core/browser/payments/payments_client.h b/components/autofill/core/browser/payments/payments_client.h
|
| index 9e2549dcfd0665335f90415afbe956193577c87b..467b44cc3cb1adfe7f01b5a3e91e8fa5809285e5 100644
|
| --- a/components/autofill/core/browser/payments/payments_client.h
|
| +++ b/components/autofill/core/browser/payments/payments_client.h
|
| @@ -91,6 +91,7 @@ class PaymentsClient : public net::URLFetcherDelegate,
|
| base::string16 context_token;
|
| std::string risk_data;
|
| std::string app_locale;
|
| + std::vector<const char*> active_experiments;
|
| };
|
|
|
| // |context_getter| is reference counted so it has no lifetime or ownership
|
| @@ -115,9 +116,12 @@ class PaymentsClient : public net::URLFetcherDelegate,
|
| // The service uses |addresses| (from which names and phone numbers are
|
| // removed) and |app_locale| to determine which legal message to display. If
|
| // the conditions are met, the legal message will be returned via
|
| - // OnDidGetUploadDetails.
|
| - virtual void GetUploadDetails(const std::vector<AutofillProfile>& addresses,
|
| - const std::string& app_locale);
|
| + // OnDidGetUploadDetails. |active_experiments| is used by payments server to
|
| + // track requests that were triggered by enabled features.
|
| + virtual void GetUploadDetails(
|
| + const std::vector<AutofillProfile>& addresses,
|
| + const std::vector<const char*>& active_experiments,
|
| + const std::string& app_locale);
|
|
|
| // The user has indicated that they would like to upload a card with the given
|
| // cvc. This request will fail server-side if a successful call to
|
|
|