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

Unified Diff: components/payments/core/subkey_requester.h

Issue 2966103002: [Payments] Show admin area complete names on PR form. (Closed)
Patch Set: Show the name in the appropriate language. Created 3 years, 5 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/core/subkey_requester.h
diff --git a/components/payments/core/subkey_requester.h b/components/payments/core/subkey_requester.h
index 1813781d5b4339f6378ed877cb7800e83e557a42..32fca7ab6760929627f44d10792900a90a289dff 100644
--- a/components/payments/core/subkey_requester.h
+++ b/components/payments/core/subkey_requester.h
@@ -11,7 +11,8 @@
namespace payments {
using SubKeyReceiverCallback =
- base::OnceCallback<void(const std::vector<std::string>&)>;
+ base::OnceCallback<void(const std::vector<std::string>&,
+ const std::vector<std::string>&)>;
// SubKeyRequester Loads Rules from the server and extracts the subkeys.
// For a given key (region code for a country, such as US), the list of its
@@ -39,6 +40,7 @@ class SubKeyRequester : public autofill::LoadRulesListener {
// be informed and the request will be canceled. |requester| should never be
// null.
void StartRegionSubKeysRequest(const std::string& region_code,
+ const std::string& language,
int timeout_seconds,
SubKeyReceiverCallback cb);

Powered by Google App Engine
This is Rietveld 408576698