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_AUXILIARY_PROFILE_LOADER_MOCK_H_ | |
| 6 #define CHROME_BROWSER_AUTOFILL_AUXILIARY_PROFILE_LOADER_MOCK_H_ | |
| 7 | |
| 8 #include "chrome/browser/autofill/auxiliary_profile_loader.h" | |
| 9 | |
| 10 class AuxiliaryProfileLoaderMock : public AuxiliaryProfileLoader { | |
|
Ilya Sherman
2013/03/01 01:55:04
nit: This class should be named "TestAuxiliaryProf
apiccion
2013/03/02 03:37:01
Done.
| |
| 11 public: | |
| 12 explicit AuxiliaryProfileLoaderMock(); | |
|
Ilya Sherman
2013/03/01 01:55:04
nit: No need for explicit.
Ilya Sherman
2013/03/01 01:55:04
nit: Include an explicitly defined destructor.
apiccion
2013/03/02 03:37:01
Done.
apiccion
2013/03/02 03:37:01
Done.
| |
| 13 | |
| 14 virtual string16 GetCity() OVERRIDE; | |
| 15 virtual string16 GetCountry() OVERRIDE; | |
| 16 virtual string16 GetFirstName() OVERRIDE; | |
| 17 virtual string16 GetMiddleName() OVERRIDE; | |
| 18 virtual string16 GetLastName() OVERRIDE; | |
| 19 virtual string16 GetSuffix() OVERRIDE; | |
| 20 virtual string16 GetNeighborhood() OVERRIDE; | |
| 21 virtual string16 GetPobox() OVERRIDE; | |
| 22 virtual string16 GetPostalCode() OVERRIDE; | |
| 23 virtual string16 GetRegion() OVERRIDE; | |
| 24 virtual string16 GetStreet() OVERRIDE; | |
| 25 virtual std::vector<string16> GetEmailAddresses() OVERRIDE; | |
| 26 virtual std::vector<string16> GetPhoneNumbers() OVERRIDE; | |
| 27 | |
| 28 void SetFirstName(string16); | |
| 29 void SetMiddleName(string16); | |
| 30 void SetLastName(string16); | |
| 31 void SetSuffix(string16); | |
| 32 void SetNeighborhood(string16); | |
| 33 void SetPobox(string16); | |
| 34 void SetPostalCode(string16); | |
| 35 void SetRegion(string16); | |
| 36 void SetStreet(string16); | |
| 37 void SetCity(string16); | |
| 38 void SetCountry(string16); | |
| 39 void SetEmailAddresses(std::vector<string16>); | |
| 40 void SetPhoneNumbers(std::vector<string16>); | |
| 41 | |
| 42 private: | |
| 43 string16 street_; | |
| 44 string16 pobox_; | |
| 45 string16 neighborhood_; | |
| 46 string16 region_; | |
| 47 string16 city_; | |
| 48 string16 postalCode_; | |
| 49 string16 country_; | |
| 50 string16 firstName_; | |
| 51 string16 middleName_; | |
| 52 string16 lastName_; | |
| 53 string16 suffix_; | |
| 54 std::vector<string16> emailAddresses_; | |
| 55 std::vector<string16> phoneNumbers_; | |
| 56 DISALLOW_COPY_AND_ASSIGN(AuxiliaryProfileLoaderMock); | |
| 57 }; | |
| 58 | |
| 59 #endif // CHROME_BROWSER_AUTOFILL_AUXILIARY_PROFILE_LOADER_MOCK_H_ | |
| OLD | NEW |