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

Unified 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: Rebased Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/auxiliary_profile_loader_mock.cc
diff --git a/chrome/browser/autofill/auxiliary_profile_loader_mock.cc b/chrome/browser/autofill/auxiliary_profile_loader_mock.cc
new file mode 100644
index 0000000000000000000000000000000000000000..77d70fc69fce8b4e86e74b680999448f1c3ed10e
--- /dev/null
+++ b/chrome/browser/autofill/auxiliary_profile_loader_mock.cc
@@ -0,0 +1,112 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/autofill/auxiliary_profile_loader_mock.h"
+
+AuxiliaryProfileLoaderMock::AuxiliaryProfileLoaderMock() {
+}
+
+string16 AuxiliaryProfileLoaderMock::GetStreet() {
+ return street_;
+}
+
+void AuxiliaryProfileLoaderMock::SetStreet(string16 street) {
+ street_ = street;
+}
+
+string16 AuxiliaryProfileLoaderMock::GetPobox() {
+ return pobox_;
+}
+
+void AuxiliaryProfileLoaderMock::SetPobox(string16 pobox) {
+ pobox_ = pobox;
+}
+
+string16 AuxiliaryProfileLoaderMock::GetNeighborhood() {
+ return neighborhood_;
+}
+
+void AuxiliaryProfileLoaderMock::SetNeighborhood(string16 neighborhood) {
+ neighborhood_ = neighborhood;
+}
+
+string16 AuxiliaryProfileLoaderMock::GetRegion() {
+ return region_;
+}
+
+void AuxiliaryProfileLoaderMock::SetRegion(string16 region) {
+ region_ = region;
+}
+
+string16 AuxiliaryProfileLoaderMock::GetCity() {
+ return city_;
+}
+
+void AuxiliaryProfileLoaderMock::SetCity(string16 city) {
+ city_ = city;
+}
+
+string16 AuxiliaryProfileLoaderMock::GetPostalCode() {
+ return postalCode_;
+}
+
+void AuxiliaryProfileLoaderMock::SetPostalCode(string16 postalCode) {
+ postalCode_ = postalCode;
+}
+
+string16 AuxiliaryProfileLoaderMock::GetCountry() {
+ return country_;
+}
+
+void AuxiliaryProfileLoaderMock::SetCountry(string16 country) {
+ country_ = country;
+}
+
+string16 AuxiliaryProfileLoaderMock::GetFirstName() {
+ return firstName_;
+}
+
+void AuxiliaryProfileLoaderMock::SetFirstName(string16 firstName) {
+ firstName_ = firstName;
+}
+
+string16 AuxiliaryProfileLoaderMock::GetMiddleName() {
+ return middleName_;
+}
+
+void AuxiliaryProfileLoaderMock::SetMiddleName(string16 middleName) {
+ middleName_ = middleName;
+}
+
+string16 AuxiliaryProfileLoaderMock::GetLastName() {
+ return lastName_;
+}
+
+void AuxiliaryProfileLoaderMock::SetLastName(string16 lastName) {
+ lastName_ = lastName;
+}
+
+string16 AuxiliaryProfileLoaderMock::GetSuffix() {
+ return suffix_;
+}
+
+void AuxiliaryProfileLoaderMock::SetSuffix(string16 suffix) {
+ suffix_ = suffix;
+}
+
+std::vector<string16> AuxiliaryProfileLoaderMock::GetEmailAddresses() {
+ return emailAddresses_;
+}
+
+void AuxiliaryProfileLoaderMock::SetEmailAddresses(std::vector<string16> addr) {
+ emailAddresses_ = addr;
+}
+
+std::vector<string16> AuxiliaryProfileLoaderMock::GetPhoneNumbers() {
+ return phoneNumbers_;
+}
+
+void AuxiliaryProfileLoaderMock::SetPhoneNumbers(std::vector<string16> pns) {
+ phoneNumbers_ = pns;
+}

Powered by Google App Engine
This is Rietveld 408576698