Chromium Code Reviews| 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_I_AUXILIARY_PROFILE_LOADER_H_ | |
| 6 #define CHROME_BROWSER_AUTOFILL_I_AUXILIARY_PROFILE_LOADER_H_ | |
| 7 | |
| 8 #include <vector> | |
| 9 #include "base/string16.h" | |
| 10 | |
| 11 class IAuxiliaryProfileLoader { | |
|
aurimas (slooooooooow)
2013/02/27 01:56:00
Why does this class have I in the beginning of its
apiccion
2013/02/28 01:31:04
Interface class. As per Dave's comment I've remove
| |
| 12 public: | |
| 13 virtual ~IAuxiliaryProfileLoader() {} | |
| 14 | |
| 15 // Address info | |
| 16 virtual string16 GetStreet() = 0; | |
|
aurimas (slooooooooow)
2013/02/27 01:56:00
This should be called street() since it is a simpl
apiccion
2013/02/28 01:31:04
Abstract implementation. Not necessarily a simple
| |
| 17 virtual string16 GetPobox() = 0; | |
|
aurimas (slooooooooow)
2013/02/27 01:56:00
Same for all the functions below.
apiccion
2013/02/28 01:31:04
See above.
On 2013/02/27 01:56:00, aurimas wrote:
| |
| 18 virtual string16 GetNeighborhood() = 0; | |
| 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; | |
| 32 | |
| 33 // Phone info | |
| 34 virtual std::vector<string16> GetPhoneNumbers() = 0; | |
| 35 }; | |
| 36 | |
| 37 #endif // CHROME_BROWSER_AUTOFILL_I_AUXILIARY_PROFILE_LOADER_H_ | |
| OLD | NEW |