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

Unified Diff: chrome/browser/ui/autofill/mock_address_validator.cc

Issue 298863012: Use upstream libaddressinput in Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review. Created 6 years, 6 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: chrome/browser/ui/autofill/mock_address_validator.cc
diff --git a/chrome/browser/ui/autofill/mock_address_validator.cc b/chrome/browser/ui/autofill/mock_address_validator.cc
index 3361bea8c49a7f1ffff59bf2d55f0a41355544a2..5840ca86489a1647a5b8799335827bd4eb402120 100644
--- a/chrome/browser/ui/autofill/mock_address_validator.cc
+++ b/chrome/browser/ui/autofill/mock_address_validator.cc
@@ -9,7 +9,8 @@ namespace autofill {
MockAddressValidator::MockAddressValidator() {
using testing::_;
using testing::Return;
- ON_CALL(*this, ValidateAddress(_, _, _)).WillByDefault(Return(SUCCESS));
+ ON_CALL(*this, LoadRules(_, _)).WillByDefault(Return());
please use gerrit instead 2014/06/05 22:22:48 To reduce reviewer burden: Single parameter.
please use gerrit instead 2014/06/09 23:28:16 Done.
+ ON_CALL(*this, Validate(_, _, _)).WillByDefault(Return(SUCCESS));
please use gerrit instead 2014/06/05 22:22:48 To reduce reviewer burden: ValidateAddress.
please use gerrit instead 2014/06/09 23:28:16 Done.
ON_CALL(*this, GetSuggestions(_, _, _, _)).WillByDefault(Return(SUCCESS));
ON_CALL(*this, CanonicalizeAdministrativeArea(_)).WillByDefault(Return(true));
}

Powered by Google App Engine
This is Rietveld 408576698