Chromium Code Reviews
DescriptionMake ScriptRegexp for email address a member of EmailInputType.
Make it a data member of EmailInputType instead of a function-local static variable.
- Move EmailInputType constructor implementation to the .cpp file to void to include
ScriptRegexp.h in EmailInputType.h.
- Add ScriptRegexp arguments to convertEmailAddressToASCII() and
isValidEmailAddress() and add createEmailRegexp() for ease of unit testing.
BUG=597530
Committed: https://crrev.com/fc3381f2aa9ccbb200f09d58ce34c22f7027491a
Cr-Commit-Position: refs/heads/master@{#397970}
Patch Set 1 : #
Total comments: 4
Patch Set 2 : explicit, simplify ensureEmailRegexp() #
Messages
Total messages: 15 (8 generated)
|
|||||||||||||||||||||||||||||||||||||