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

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

Issue 2847503002: [WebPayments] Show labels on incomplete profiles (Closed)
Patch Set: ios namespace 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
Index: components/autofill/core/browser/autofill_profile_comparator.h
diff --git a/components/autofill/core/browser/autofill_profile_comparator.h b/components/autofill/core/browser/autofill_profile_comparator.h
index 4b69d184112b18d5d5d46207e00807efd96fcecb..d8ca6055ee76675d487ffd13619d7a792127e7cf 100644
--- a/components/autofill/core/browser/autofill_profile_comparator.h
+++ b/components/autofill/core/browser/autofill_profile_comparator.h
@@ -215,10 +215,11 @@ class AutofillProfileComparator {
const AutofillProfile& p2,
NameInfo* info) const;
+ const std::string app_locale_;
Mathieu 2017/04/27 18:34:01 hmm, I think the style is to have a getter() that'
Mathieu 2017/04/27 18:34:30 Also do you need it, can you get it another way?
tmartino 2017/04/28 17:10:06 We take it in at construct-time and pass it to the
+
private:
l10n::CaseInsensitiveCompare case_insensitive_compare_;
std::unique_ptr<icu::Transliterator> transliterator_;
- const std::string app_locale_;
DISALLOW_COPY_AND_ASSIGN(AutofillProfileComparator);
};

Powered by Google App Engine
This is Rietveld 408576698