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

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

Issue 382243002: Cleanup return values in autofill (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/autofill/core/browser/credit_card.h
diff --git a/components/autofill/core/browser/credit_card.h b/components/autofill/core/browser/credit_card.h
index 3c4c1f65c314442636df8ee31834ad0a763bd2bd..0ca1c877b909de113154907caae3c74b51d2faa9 100644
--- a/components/autofill/core/browser/credit_card.h
+++ b/components/autofill/core/browser/credit_card.h
@@ -60,7 +60,7 @@ class CreditCard : public AutofillDataModel {
const std::string& app_locale) OVERRIDE;
// Credit card preview summary, for example: ******1234, Exp: 01/2020
- const base::string16 Label() const;
+ const base::string16& Label() const;
vabr (Chromium) 2014/07/11 19:27:49 So I guess the argument with ToString() applies he
lucinka.brozkova 2014/07/11 21:05:57 Done.
// Special method to set value for HTML5 month input type.
void SetInfoForMonthInputType(const base::string16& value);

Powered by Google App Engine
This is Rietveld 408576698