summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/phone_number.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autofill/phone_number.h')
-rw-r--r--chrome/browser/autofill/phone_number.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/autofill/phone_number.h b/chrome/browser/autofill/phone_number.h
index da6f051..9da3b98 100644
--- a/chrome/browser/autofill/phone_number.h
+++ b/chrome/browser/autofill/phone_number.h
@@ -30,7 +30,8 @@ class PhoneNumber : public FormGroup {
// returns the trailing 7 digits, |city_code| returns the next 3 digits, and
// |country_code| returns any remaining digits.
// Separator characters are stripped before parsing the digits.
- static void ParsePhoneNumber(const string16& value,
+ // Returns true if parsing was successfull, false otherwise.
+ static bool ParsePhoneNumber(const string16& value,
string16* number,
string16* city_code,
string16* country_code);