OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_I18N_H_ | |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_I18N_H_ | |
7 | |
8 #include "base/callback.h" | |
Ilya Sherman
2014/05/07 01:19:19
nit: Would callback_forward suffice?
Evan Stade
2014/05/09 22:14:59
Done.
| |
9 #include "base/memory/scoped_ptr.h" | |
10 #include "base/strings/string16.h" | |
11 | |
12 namespace i18n { | |
13 namespace addressinput { | |
14 struct AddressData; | |
15 } | |
16 } | |
17 | |
18 namespace autofill { | |
19 | |
20 class AutofillType; | |
21 | |
22 namespace i18n { | |
23 | |
24 // Creates an AddressData object for internationalized address display or | |
25 // validation using |get_info| for field values. | |
26 scoped_ptr< ::i18n::addressinput::AddressData> CreateAddressData( | |
Ilya Sherman
2014/05/07 01:19:19
nit: Is the space between "<" and "::" necessary?
Evan Stade
2014/05/09 22:14:59
yes for GCC
| |
27 const base::Callback<base::string16(const AutofillType&)>& get_info); | |
28 | |
29 } // namespace i18n | |
30 } // namespace autofill | |
31 | |
32 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_I18N_H_ | |
OLD | NEW |