Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: chrome/browser/autofill/auxiliary_profile_loader_mock.h

Issue 12282004: Added personal_data_manager android implementation for auto-populating auto-fill on android builds … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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/i_auxiliary_profile_loader.h"
9
10 class AuxiliaryProfileLoaderMock : public IAuxiliaryProfileLoader {
David Trainor- moved to gerrit 2013/02/27 07:49:28 Disallow copy and assign macro
apiccion 2013/02/28 01:31:04 Done.
11 public:
12 explicit AuxiliaryProfileLoaderMock();
13
14 // Address info
15 virtual string16 GetStreet();
David Trainor- moved to gerrit 2013/02/27 07:49:28 Add override to every overridden method. Might be
apiccion 2013/02/28 01:31:04 Done.
16 void SetStreet(string16);
17 virtual string16 GetPobox();
18 void SetPobox(string16);
19 virtual string16 GetNeighborhood();
20 void SetNeighborhood(string16);
21 virtual string16 GetRegion();
22 void SetRegion(string16);
23 virtual string16 GetCity();
24 void SetCity(string16);
25 virtual string16 GetPostalCode();
26 void SetPostalCode(string16);
27 virtual string16 GetCountry();
28 void SetCountry(string16);
29
30 // Name info
31 virtual string16 GetFirstName();
32 void SetFirstName(string16);
33 virtual string16 GetMiddleName();
34 void SetMiddleName(string16);
35 virtual string16 GetLastName();
36 void SetLastName(string16);
37 virtual string16 GetSuffix();
38 void SetSuffix(string16);
39
40 // Email info
41 virtual std::vector<string16> GetEmailAddresses();
42 void SetEmailAddresses(std::vector<string16>);
43
44 // Phone info
45 virtual std::vector<string16> GetPhoneNumbers();
46 void SetPhoneNumbers(std::vector<string16>);
47
48 private:
49 string16 street_;
50 string16 pobox_;
51 string16 neighborhood_;
52 string16 region_;
53 string16 city_;
54 string16 postalCode_;
55 string16 country_;
56 string16 firstName_;
57 string16 middleName_;
58 string16 lastName_;
59 string16 suffix_;
60 std::vector<string16> emailAddresses_;
61 std::vector<string16> phoneNumbers_;
62 };
63
64 #endif // CHROME_BROWSER_AUTOFILL_AUXILIARY_PROFILE_LOADER_MOCK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698