OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "third_party/libaddressinput/chromium/input_suggester.h" | 5 #include "third_party/libaddressinput/chromium/input_suggester.h" |
6 | 6 |
7 #include <cstddef> | 7 #include <cstddef> |
8 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
12 #include "third_party/libaddressinput/chromium/trie.h" | 13 #include "third_party/libaddressinput/chromium/trie.h" |
13 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_da
ta.h" | 14 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_da
ta.h" |
14 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/callback.h
" | 15 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/callback.h
" |
15 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/preload_su
pplier.h" | 16 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/preload_su
pplier.h" |
16 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/region_dat
a.h" | 17 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/region_dat
a.h" |
17 | 18 |
18 namespace autofill { | 19 namespace autofill { |
19 | 20 |
20 using ::i18n::addressinput::AddressData; | 21 using ::i18n::addressinput::AddressData; |
21 using ::i18n::addressinput::AddressField; | 22 using ::i18n::addressinput::AddressField; |
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 } | 513 } |
513 } | 514 } |
514 | 515 |
515 void InputSuggester::Validated(bool success, | 516 void InputSuggester::Validated(bool success, |
516 const AddressData&, | 517 const AddressData&, |
517 const FieldProblemMap&) { | 518 const FieldProblemMap&) { |
518 DCHECK(success); | 519 DCHECK(success); |
519 } | 520 } |
520 | 521 |
521 } // namespace autofill | 522 } // namespace autofill |
OLD | NEW |