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

Side by Side Diff: chrome/browser/autofill/android/mock_address_validator.cc

Issue 2338283003: [Payments] Normalize addresses before passing them to merchants. (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(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 #include "chrome/browser/autofill/android/mock_address_validator.h"
6
7 namespace autofill {
8
9 MockAddressValidator::MockAddressValidator(
10 LoadRulesListener* load_rules_listener,
11 bool load_rules_response)
12 : load_rules_response_(load_rules_response),
13 load_rules_listener_(load_rules_listener) {}
14
15 void MockAddressValidator::LoadRules(const std::string& region_code) {
16 load_rules_listener_->OnAddressValidationRulesLoaded(region_code,
17 load_rules_response_);
18 }
19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698