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

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

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: Android Autofill Populator 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 #include "chrome/browser/autofill/auxiliary_profile_loader_mock.h"
6
7 AuxiliaryProfileLoaderMock::AuxiliaryProfileLoaderMock() {
8 }
9
10 string16 AuxiliaryProfileLoaderMock::GetStreet() {
11 return street_;
12 }
13
14 void AuxiliaryProfileLoaderMock::SetStreet(string16 street) {
15 street_ = street;
16 }
17
18 string16 AuxiliaryProfileLoaderMock::GetPobox() {
19 return pobox_;
20 }
21
22 void AuxiliaryProfileLoaderMock::SetPobox(string16 pobox) {
23 pobox_ = pobox;
24 }
25
26 string16 AuxiliaryProfileLoaderMock::GetNeighborhood() {
27 return neighborhood_;
28 }
29
30 void AuxiliaryProfileLoaderMock::SetNeighborhood(string16 neighborhood) {
31 neighborhood_ = neighborhood;
32 }
33
34 string16 AuxiliaryProfileLoaderMock::GetRegion() {
35 return region_;
36 }
37
38 void AuxiliaryProfileLoaderMock::SetRegion(string16 region) {
39 region_ = region;
40 }
41
42 string16 AuxiliaryProfileLoaderMock::GetCity() {
43 return city_;
44 }
45
46 void AuxiliaryProfileLoaderMock::SetCity(string16 city) {
47 city_ = city;
48 }
49
50 string16 AuxiliaryProfileLoaderMock::GetPostalCode() {
51 return postalCode_;
52 }
53
54 void AuxiliaryProfileLoaderMock::SetPostalCode(string16 postalCode) {
55 postalCode_ = postalCode;
56 }
57
58 string16 AuxiliaryProfileLoaderMock::GetCountry() {
59 return country_;
60 }
61
62 void AuxiliaryProfileLoaderMock::SetCountry(string16 country) {
63 country_ = country;
64 }
65
66 string16 AuxiliaryProfileLoaderMock::GetFirstName() {
67 return firstName_;
68 }
69
70 void AuxiliaryProfileLoaderMock::SetFirstName(string16 firstName) {
71 firstName_ = firstName;
72 }
73
74 string16 AuxiliaryProfileLoaderMock::GetMiddleName() {
75 return middleName_;
76 }
77
78 void AuxiliaryProfileLoaderMock::SetMiddleName(string16 middleName) {
79 middleName_ = middleName;
80 }
81
82 string16 AuxiliaryProfileLoaderMock::GetLastName() {
83 return lastName_;
84 }
85
86 void AuxiliaryProfileLoaderMock::SetLastName(string16 lastName) {
87 lastName_ = lastName;
88 }
89
90 string16 AuxiliaryProfileLoaderMock::GetSuffix() {
91 return suffix_;
92 }
93
94 void AuxiliaryProfileLoaderMock::SetSuffix(string16 suffix) {
95 suffix_ = suffix;
96 }
97
98 std::vector<string16> AuxiliaryProfileLoaderMock::GetEmailAddresses() {
99 return emailAddresses_;
100 }
101
102 void AuxiliaryProfileLoaderMock::SetEmailAddresses(std::vector<string16> addr) {
103 emailAddresses_ = addr;
104 }
105
106 std::vector<string16> AuxiliaryProfileLoaderMock::GetPhoneNumbers() {
107 return phoneNumbers_;
108 }
109
110 void AuxiliaryProfileLoaderMock::SetPhoneNumbers(std::vector<string16> pns) {
111 phoneNumbers_ = pns;
112 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698