OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 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 CHROME_BROWSER_AUTOFILL_AUXILIARY_PROFILE_LOADER_H_ | |
6 #define CHROME_BROWSER_AUTOFILL_AUXILIARY_PROFILE_LOADER_H_ | |
Ilya Sherman
2013/03/01 01:55:04
Is this class used for any platforms other than An
apiccion
2013/03/02 03:37:01
Done.
| |
7 | |
8 #include <vector> | |
Ilya Sherman
2013/03/01 01:55:04
nit: Leave a blank line after this one.
apiccion
2013/03/02 03:37:01
Done.
| |
9 #include "base/string16.h" | |
10 | |
11 class AuxiliaryProfileLoader { | |
Ilya Sherman
2013/03/01 01:55:04
nit: Docs.
Ilya Sherman
2013/03/01 01:55:04
nit: This class should be in the autofill:: namesp
apiccion
2013/03/02 03:37:01
Done.
| |
12 public: | |
13 virtual ~AuxiliaryProfileLoader() {} | |
14 | |
15 // Address info | |
Ilya Sherman
2013/03/01 01:55:04
nit: Please include docs for each method in this c
apiccion
2013/03/02 03:37:01
Done.
apiccion
2013/03/02 03:37:01
Done.
| |
16 virtual string16 GetStreet() = 0; | |
Ilya Sherman
2013/03/01 01:55:04
nit: Should this and all of the other Get() method
apiccion
2013/03/02 03:37:01
Done.
apiccion
2013/03/02 03:37:01
Done.
| |
17 virtual string16 GetPobox() = 0; | |
Ilya Sherman
2013/03/01 01:55:04
nit: Please spell out "GetPostOfficeBox()"
apiccion
2013/03/02 03:37:01
Done.
| |
18 virtual string16 GetNeighborhood() = 0; | |
Ilya Sherman
2013/03/01 01:55:04
nit: I have no idea what this method returns. Thi
apiccion
2013/03/02 03:37:01
Done.
| |
19 virtual string16 GetRegion() = 0; | |
20 virtual string16 GetCity() = 0; | |
21 virtual string16 GetPostalCode() = 0; | |
22 virtual string16 GetCountry() = 0; | |
23 | |
24 // Name info | |
25 virtual string16 GetFirstName() = 0; | |
26 virtual string16 GetMiddleName() = 0; | |
27 virtual string16 GetLastName() = 0; | |
28 virtual string16 GetSuffix() = 0; | |
29 | |
30 // Email info | |
31 virtual std::vector<string16> GetEmailAddresses() = 0; | |
Ilya Sherman
2013/03/01 01:55:04
nit: Please make this method signature be
virtual
apiccion
2013/03/02 03:37:01
Done.
| |
32 | |
33 // Phone info | |
34 virtual std::vector<string16> GetPhoneNumbers() = 0; | |
Ilya Sherman
2013/03/01 01:55:04
nit: Ditto: use an outparam rather than returning
apiccion
2013/03/02 03:37:01
Done.
| |
35 }; | |
36 | |
37 #endif // CHROME_BROWSER_AUTOFILL_AUXILIARY_PROFILE_LOADER_H_ | |
OLD | NEW |