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

Side by Side Diff: components/autofill/browser/android/test_auxiliary_profile_loader_android.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: Components Refactor + Nits 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 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 "components/autofill/browser/android/test_auxiliary_profile_loader_andr oid.h"
6
7 TestAuxiliaryProfileLoader::TestAuxiliaryProfileLoader() {
8 }
9
10 TestAuxiliaryProfileLoader::~TestAuxiliaryProfileLoader() {
11 }
12
13 string16 TestAuxiliaryProfileLoader::GetFirstName() const {
14 return first_name_;
15 }
16
17 string16 TestAuxiliaryProfileLoader::GetMiddleName() const {
18 return middle_name_;
19 }
20
21 string16 TestAuxiliaryProfileLoader::GetLastName() const {
22 return last_name_;
23 }
24
25 string16 TestAuxiliaryProfileLoader::GetSuffix() const {
26 return suffix_;
27 }
28
29 string16 TestAuxiliaryProfileLoader::GetStreet() const {
30 return street_;
31 }
32
33 string16 TestAuxiliaryProfileLoader::GetPostOfficeBox() const {
34 return post_office_box_;
35 }
36
37 string16 TestAuxiliaryProfileLoader::GetCity() const {
38 return city_;
39 }
40
41 string16 TestAuxiliaryProfileLoader::GetNeighborhood() const {
42 return neighborhood_;
43 }
44
45 string16 TestAuxiliaryProfileLoader::GetRegion() const {
46 return region_;
47 }
48
49 string16 TestAuxiliaryProfileLoader::GetPostalCode() const {
50 return postal_code_;
51 }
52
53 string16 TestAuxiliaryProfileLoader::GetCountry() const {
54 return country_;
55 }
56
57 void TestAuxiliaryProfileLoader::GetEmailAddresses(
58 std::vector<string16>* email_addresses) const {
59 *email_addresses = email_addresses_;
60 }
61
62 void TestAuxiliaryProfileLoader::GetPhoneNumbers(
63 std::vector<string16>* phone_numbers) const {
64 *phone_numbers = phone_numbers_;
65 }
66
67 void TestAuxiliaryProfileLoader::SetFirstName(const string16& first_name) {
68 first_name_ = first_name;
69 }
70
71 void TestAuxiliaryProfileLoader::SetMiddleName(const string16& middle_name) {
72 middle_name_ = middle_name;
73 }
74
75 void TestAuxiliaryProfileLoader::SetLastName(const string16& last_name) {
76 last_name_ = last_name;
77 }
78
79 void TestAuxiliaryProfileLoader::SetSuffix(const string16& suffix) {
80 suffix_ = suffix;
81 }
82
83 void TestAuxiliaryProfileLoader::SetStreet(const string16& street) {
84 street_ = street;
85 }
86
87 void TestAuxiliaryProfileLoader::SetPostOfficeBox(
88 const string16& post_office_box) {
89 post_office_box_ = post_office_box;
90 }
91
92 void TestAuxiliaryProfileLoader::SetNeighborhood(
93 const string16& neighborhood) {
94 neighborhood_ = neighborhood;
95 }
96
97 void TestAuxiliaryProfileLoader::SetRegion(const string16& region) {
98 region_ = region;
99 }
100
101 void TestAuxiliaryProfileLoader::SetCity(const string16& city) {
102 city_ = city;
103 }
104
105 void TestAuxiliaryProfileLoader::SetPostalCode(const string16& postal_code) {
106 postal_code_ = postal_code;
107 }
108
109 void TestAuxiliaryProfileLoader::SetCountry(const string16& country) {
110 country_ = country;
111 }
112
113 void TestAuxiliaryProfileLoader::SetEmailAddresses(
114 const std::vector<string16>& addresses) {
115 email_addresses_ = addresses;
116 }
117
118 void TestAuxiliaryProfileLoader::SetPhoneNumbers(
119 const std::vector<string16>& phone_numbers) {
120 phone_numbers_ = phone_numbers;
121 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698