OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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. |
| 4 |
| 5 #ifndef CHROME_BROWSER_AUTOFILL_ANDROID_MOCK_ADDRESS_VALIDATOR_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_ANDROID_MOCK_ADDRESS_VALIDATOR_H_ |
| 7 |
| 8 #include "third_party/libaddressinput/chromium/chrome_address_validator.h" |
| 9 |
| 10 namespace autofill { |
| 11 |
| 12 class MockAddressValidator : public AddressValidator { |
| 13 public: |
| 14 MockAddressValidator(LoadRulesListener* load_rules_listener, |
| 15 bool load_rules_response); |
| 16 |
| 17 void LoadRules(const std::string& region_code) override; |
| 18 |
| 19 bool load_rules_response_; |
| 20 |
| 21 LoadRulesListener* const load_rules_listener_; |
| 22 }; |
| 23 } |
| 24 |
| 25 #endif // CHROME_BROWSER_AUTOFILL_ANDROID_MOCK_ADDRESS_VALIDATOR_H_ |
OLD | NEW |