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

Unified Diff: components/autofill/core/browser/country_names.h

Issue 1635813003: country_names.cc: change SetLocaleString to take const ref instead of value (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/autofill/core/browser/country_names.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/country_names.h
diff --git a/components/autofill/core/browser/country_names.h b/components/autofill/core/browser/country_names.h
index a0733522ccf494d455dcc347b6cd9691f3d795fe..c54f8f93a96c2d987cd3323fa67e816e0a63cbe6 100644
--- a/components/autofill/core/browser/country_names.h
+++ b/components/autofill/core/browser/country_names.h
@@ -33,7 +33,7 @@ class CountryNames {
// Tells CountryNames, what is the application locale. Only the first supplied
// value is used, further calls result in no changes. Call this on the UI
// thread, before first using CountryNames. |locale| must not be empty.
- static void SetLocaleString(std::string locale);
+ static void SetLocaleString(const std::string& locale);
// Returns the country code corresponding to |country|, which should be a
// country code or country name localized to |locale_name|.
« no previous file with comments | « no previous file | components/autofill/core/browser/country_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698