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

Unified Diff: chrome/browser/autofill/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: Fixed assortment of nits 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/android/test_auxiliary_profile_loader_android.cc
diff --git a/chrome/browser/autofill/android/test_auxiliary_profile_loader_android.cc b/chrome/browser/autofill/android/test_auxiliary_profile_loader_android.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6dcc32d70e7b4c23d004dfd2f6a3f85c3891913e
--- /dev/null
+++ b/chrome/browser/autofill/android/test_auxiliary_profile_loader_android.cc
@@ -0,0 +1,117 @@
+// 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/android/test_auxiliary_profile_loader_android.h"
+
+TestAuxiliaryProfileLoader::TestAuxiliaryProfileLoader() {
+}
+
+TestAuxiliaryProfileLoader::~TestAuxiliaryProfileLoader() {
+}
+
+string16 TestAuxiliaryProfileLoader::GetFirstName() const {
+ return firstName_;
+}
+
+string16 TestAuxiliaryProfileLoader::GetMiddleName() const {
+ return middleName_;
+}
+
+string16 TestAuxiliaryProfileLoader::GetLastName() const {
+ return lastName_;
+}
+
+string16 TestAuxiliaryProfileLoader::GetSuffix() const {
+ return suffix_;
+}
+
+string16 TestAuxiliaryProfileLoader::GetStreet() const {
+ return street_;
+}
+
+string16 TestAuxiliaryProfileLoader::GetPostOfficeBox() const {
+ return pobox_;
+}
+
+string16 TestAuxiliaryProfileLoader::GetCity() const {
+ return city_;
+}
+
+string16 TestAuxiliaryProfileLoader::GetNeighborhood() const {
+ return neighborhood_;
+}
+
+string16 TestAuxiliaryProfileLoader::GetRegion() const {
+ return region_;
+}
+
+string16 TestAuxiliaryProfileLoader::GetPostalCode() const {
+ return postalCode_;
+}
+
+string16 TestAuxiliaryProfileLoader::GetCountry() const {
+ return country_;
+}
+
+void TestAuxiliaryProfileLoader::GetEmailAddresses(
+ std::vector<string16>* emailAddresses) const {
+ *emailAddresses = emailAddresses_;
+}
+
+void TestAuxiliaryProfileLoader::GetPhoneNumbers(
+ std::vector<string16>* phoneNumbers) const {
+ *phoneNumbers = phoneNumbers_;
+}
+
+void TestAuxiliaryProfileLoader::SetFirstName(string16 firstName) {
+ firstName_ = firstName;
+}
+
+void TestAuxiliaryProfileLoader::SetMiddleName(string16 middleName) {
+ middleName_ = middleName;
+}
+
+void TestAuxiliaryProfileLoader::SetLastName(string16 lastName) {
+ lastName_ = lastName;
+}
+
+void TestAuxiliaryProfileLoader::SetSuffix(string16 suffix) {
+ suffix_ = suffix;
+}
+
+void TestAuxiliaryProfileLoader::SetStreet(string16 street) {
+ street_ = street;
+}
+
+void TestAuxiliaryProfileLoader::SetPobox(string16 pobox) {
+ pobox_ = pobox;
+}
+
+void TestAuxiliaryProfileLoader::SetNeighborhood(string16 neighborhood) {
+ neighborhood_ = neighborhood;
+}
+
+void TestAuxiliaryProfileLoader::SetRegion(string16 region) {
+ region_ = region;
+}
+
+void TestAuxiliaryProfileLoader::SetCity(string16 city) {
+ city_ = city;
+}
+
+void TestAuxiliaryProfileLoader::SetPostalCode(string16 postalCode) {
+ postalCode_ = postalCode;
+}
+
+void TestAuxiliaryProfileLoader::SetCountry(string16 country) {
+ country_ = country;
+}
+
+void TestAuxiliaryProfileLoader::SetEmailAddresses(std::vector<string16> addr) {
+ emailAddresses_ = addr;
+}
+
+void TestAuxiliaryProfileLoader::SetPhoneNumbers(std::vector<string16> pns) {
+ phoneNumbers_ = pns;
+}

Powered by Google App Engine
This is Rietveld 408576698