Chromium Code Reviews| Index: components/autofill/core/browser/address_i18n.h |
| diff --git a/components/autofill/core/browser/address_i18n.h b/components/autofill/core/browser/address_i18n.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ceefde92bdc40d4f70dff01ad5907cd741dc1ae9 |
| --- /dev/null |
| +++ b/components/autofill/core/browser/address_i18n.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_I18N_H_ |
| +#define COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_I18N_H_ |
| + |
| +#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.
|
| +#include "base/memory/scoped_ptr.h" |
| +#include "base/strings/string16.h" |
| + |
| +namespace i18n { |
| +namespace addressinput { |
| +struct AddressData; |
| +} |
| +} |
| + |
| +namespace autofill { |
| + |
| +class AutofillType; |
| + |
| +namespace i18n { |
| + |
| +// Creates an AddressData object for internationalized address display or |
| +// validation using |get_info| for field values. |
| +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
|
| + const base::Callback<base::string16(const AutofillType&)>& get_info); |
| + |
| +} // namespace i18n |
| +} // namespace autofill |
| + |
| +#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_ADDRESS_I18N_H_ |