root/components/autofill/core/browser/android/test_auxiliary_profile_loader_android.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. GetHasPermissions
  2. GetFirstName
  3. GetMiddleName
  4. GetLastName
  5. GetSuffix
  6. GetStreet
  7. GetPostOfficeBox
  8. GetCity
  9. GetNeighborhood
  10. GetRegion
  11. GetPostalCode
  12. GetCountry
  13. GetEmailAddresses
  14. GetPhoneNumbers
  15. SetFirstName
  16. SetMiddleName
  17. SetLastName
  18. SetSuffix
  19. SetStreet
  20. SetPostOfficeBox
  21. SetNeighborhood
  22. SetRegion
  23. SetCity
  24. SetPostalCode
  25. SetCountry
  26. SetEmailAddresses
  27. SetPhoneNumbers

// Copyright 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 "components/autofill/core/browser/android/test_auxiliary_profile_loader_android.h"

namespace autofill {

TestAuxiliaryProfileLoader::TestAuxiliaryProfileLoader() {
}

TestAuxiliaryProfileLoader::~TestAuxiliaryProfileLoader() {
}

bool TestAuxiliaryProfileLoader::GetHasPermissions() const {
  return true;
}

base::string16 TestAuxiliaryProfileLoader::GetFirstName() const {
  return first_name_;
}

base::string16 TestAuxiliaryProfileLoader::GetMiddleName() const {
  return middle_name_;
}

base::string16 TestAuxiliaryProfileLoader::GetLastName() const {
  return last_name_;
}

base::string16 TestAuxiliaryProfileLoader::GetSuffix() const {
  return suffix_;
}

base::string16 TestAuxiliaryProfileLoader::GetStreet() const {
  return street_;
}

base::string16 TestAuxiliaryProfileLoader::GetPostOfficeBox() const {
  return post_office_box_;
}

base::string16 TestAuxiliaryProfileLoader::GetCity() const {
  return city_;
}

base::string16 TestAuxiliaryProfileLoader::GetNeighborhood() const {
  return neighborhood_;
}

base::string16 TestAuxiliaryProfileLoader::GetRegion() const {
  return region_;
}

base::string16 TestAuxiliaryProfileLoader::GetPostalCode() const {
  return postal_code_;
}

base::string16 TestAuxiliaryProfileLoader::GetCountry() const {
  return country_;
}

void TestAuxiliaryProfileLoader::GetEmailAddresses(
    std::vector<base::string16>* email_addresses) const {
  *email_addresses = email_addresses_;
}

void TestAuxiliaryProfileLoader::GetPhoneNumbers(
    std::vector<base::string16>* phone_numbers) const {
  *phone_numbers = phone_numbers_;
}

void TestAuxiliaryProfileLoader::SetFirstName(
    const base::string16& first_name) {
  first_name_ = first_name;
}

void TestAuxiliaryProfileLoader::SetMiddleName(
    const base::string16& middle_name) {
  middle_name_ = middle_name;
}

void TestAuxiliaryProfileLoader::SetLastName(const base::string16& last_name) {
  last_name_ = last_name;
}

void TestAuxiliaryProfileLoader::SetSuffix(const base::string16& suffix) {
  suffix_ = suffix;
}

void TestAuxiliaryProfileLoader::SetStreet(const base::string16& street) {
  street_ = street;
}

void TestAuxiliaryProfileLoader::SetPostOfficeBox(
    const base::string16& post_office_box) {
  post_office_box_ = post_office_box;
}

void TestAuxiliaryProfileLoader::SetNeighborhood(
    const base::string16& neighborhood) {
  neighborhood_ = neighborhood;
}

void TestAuxiliaryProfileLoader::SetRegion(const base::string16& region) {
  region_ = region;
}

void TestAuxiliaryProfileLoader::SetCity(const base::string16& city) {
  city_ = city;
}

void TestAuxiliaryProfileLoader::SetPostalCode(
    const base::string16& postal_code) {
  postal_code_ = postal_code;
}

void TestAuxiliaryProfileLoader::SetCountry(const base::string16& country) {
  country_ = country;
}

void TestAuxiliaryProfileLoader::SetEmailAddresses(
    const std::vector<base::string16>& addresses) {
  email_addresses_ = addresses;
}

void TestAuxiliaryProfileLoader::SetPhoneNumbers(
    const std::vector<base::string16>& phone_numbers) {
  phone_numbers_ = phone_numbers;
}

}  // namespace autofill

/* [<][>][^][v][top][bottom][index][help] */