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

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

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

Powered by Google App Engine
This is Rietveld 408576698