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

Side by Side Diff: components/autofill/browser/android/test_auxiliary_profile_loader_android.cc

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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 namespace autofill {
8
9 TestAuxiliaryProfileLoader::TestAuxiliaryProfileLoader() {
10 }
11
12 TestAuxiliaryProfileLoader::~TestAuxiliaryProfileLoader() {
13 }
14
15 bool TestAuxiliaryProfileLoader::GetHasPermissions() const {
16 return true;
17 }
18
19 base::string16 TestAuxiliaryProfileLoader::GetFirstName() const {
20 return first_name_;
21 }
22
23 base::string16 TestAuxiliaryProfileLoader::GetMiddleName() const {
24 return middle_name_;
25 }
26
27 base::string16 TestAuxiliaryProfileLoader::GetLastName() const {
28 return last_name_;
29 }
30
31 base::string16 TestAuxiliaryProfileLoader::GetSuffix() const {
32 return suffix_;
33 }
34
35 base::string16 TestAuxiliaryProfileLoader::GetStreet() const {
36 return street_;
37 }
38
39 base::string16 TestAuxiliaryProfileLoader::GetPostOfficeBox() const {
40 return post_office_box_;
41 }
42
43 base::string16 TestAuxiliaryProfileLoader::GetCity() const {
44 return city_;
45 }
46
47 base::string16 TestAuxiliaryProfileLoader::GetNeighborhood() const {
48 return neighborhood_;
49 }
50
51 base::string16 TestAuxiliaryProfileLoader::GetRegion() const {
52 return region_;
53 }
54
55 base::string16 TestAuxiliaryProfileLoader::GetPostalCode() const {
56 return postal_code_;
57 }
58
59 base::string16 TestAuxiliaryProfileLoader::GetCountry() const {
60 return country_;
61 }
62
63 void TestAuxiliaryProfileLoader::GetEmailAddresses(
64 std::vector<base::string16>* email_addresses) const {
65 *email_addresses = email_addresses_;
66 }
67
68 void TestAuxiliaryProfileLoader::GetPhoneNumbers(
69 std::vector<base::string16>* phone_numbers) const {
70 *phone_numbers = phone_numbers_;
71 }
72
73 void TestAuxiliaryProfileLoader::SetFirstName(
74 const base::string16& first_name) {
75 first_name_ = first_name;
76 }
77
78 void TestAuxiliaryProfileLoader::SetMiddleName(
79 const base::string16& middle_name) {
80 middle_name_ = middle_name;
81 }
82
83 void TestAuxiliaryProfileLoader::SetLastName(const base::string16& last_name) {
84 last_name_ = last_name;
85 }
86
87 void TestAuxiliaryProfileLoader::SetSuffix(const base::string16& suffix) {
88 suffix_ = suffix;
89 }
90
91 void TestAuxiliaryProfileLoader::SetStreet(const base::string16& street) {
92 street_ = street;
93 }
94
95 void TestAuxiliaryProfileLoader::SetPostOfficeBox(
96 const base::string16& post_office_box) {
97 post_office_box_ = post_office_box;
98 }
99
100 void TestAuxiliaryProfileLoader::SetNeighborhood(
101 const base::string16& neighborhood) {
102 neighborhood_ = neighborhood;
103 }
104
105 void TestAuxiliaryProfileLoader::SetRegion(const base::string16& region) {
106 region_ = region;
107 }
108
109 void TestAuxiliaryProfileLoader::SetCity(const base::string16& city) {
110 city_ = city;
111 }
112
113 void TestAuxiliaryProfileLoader::SetPostalCode(
114 const base::string16& postal_code) {
115 postal_code_ = postal_code;
116 }
117
118 void TestAuxiliaryProfileLoader::SetCountry(const base::string16& country) {
119 country_ = country;
120 }
121
122 void TestAuxiliaryProfileLoader::SetEmailAddresses(
123 const std::vector<base::string16>& addresses) {
124 email_addresses_ = addresses;
125 }
126
127 void TestAuxiliaryProfileLoader::SetPhoneNumbers(
128 const std::vector<base::string16>& phone_numbers) {
129 phone_numbers_ = phone_numbers;
130 }
131
132 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698