Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / autofill / mock_address_validator.cc
blob3361bea8c49a7f1ffff59bf2d55f0a41355544a2
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/autofill/mock_address_validator.h"
7 namespace autofill {
9 MockAddressValidator::MockAddressValidator() {
10 using testing::_;
11 using testing::Return;
12 ON_CALL(*this, ValidateAddress(_, _, _)).WillByDefault(Return(SUCCESS));
13 ON_CALL(*this, GetSuggestions(_, _, _, _)).WillByDefault(Return(SUCCESS));
14 ON_CALL(*this, CanonicalizeAdministrativeArea(_)).WillByDefault(Return(true));
17 MockAddressValidator::~MockAddressValidator() {}
19 } // namespace autofill