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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_UTIL_H_ | |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_UTIL_H_ | |
7 | |
8 #include "base/strings/string16.h" | |
9 | |
10 namespace autofill { | |
11 namespace data_util { | |
12 | |
13 struct NameParts { | |
14 base::string16 given; | |
15 base::string16 middle; | |
16 base::string16 family; | |
17 }; | |
18 | |
19 // TODO(crbug.com/586510): Investigate the use of app_locale to do better name | |
20 // splitting. | |
Mathieu
2016/02/12 20:53:30
documentation?
sebsg
2016/02/24 18:49:43
Done.
| |
21 NameParts SplitName(const base::string16& name); | |
22 | |
23 } // namespace data_util | |
24 } // namespace autofill | |
25 | |
26 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_DATA_UTIL_H_ | |
OLD | NEW |