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

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

Issue 442403002: Adjust displayed phone number for prefix/suffix case. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove duplicate code. Created 6 years, 4 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_field.h
diff --git a/components/autofill/core/browser/autofill_field.h b/components/autofill/core/browser/autofill_field.h
index b810e76010cef8ce961ae903adce385e093dc2d3..5f66eb0ec0761938a6eb469118b5db6833d8a71a 100644
--- a/components/autofill/core/browser/autofill_field.h
+++ b/components/autofill/core/browser/autofill_field.h
@@ -75,6 +75,11 @@ class AutofillField : public FormFieldData {
const std::string& app_locale,
FormFieldData* field_data);
+ static void GetPhoneNumberValue(const AutofillField& field,
Ilya Sherman 2014/09/03 00:55:49 Please document this method.
Ilya Sherman 2014/09/03 00:55:49 Can this method return the value, rather than writ
ziran.sun 2014/09/04 13:10:25 Done.
ziran.sun 2014/09/04 13:10:25 Done.
+ const base::string16& number,
+ FormFieldData* field_data,
Ilya Sherman 2014/09/03 00:55:49 Can this be passed by const-reference rather than
ziran.sun 2014/09/04 13:10:25 Done.
+ base::string16* value);
+
private:
// The unique name of this field, generated by Autofill.
base::string16 unique_name_;
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_field.cc » ('j') | components/autofill/core/browser/autofill_field.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698