OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 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 // Populates default autofill profile from user's own Android contact. |
| 6 |
| 7 #include <vector> |
| 8 #include "base/logging.h" |
| 9 #include "chrome/browser/autofill/auxiliary_profile_impl_android.h" |
| 10 #include "chrome/browser/autofill/auxiliary_profile_loader_android.h" |
| 11 #include "chrome/browser/autofill/i_auxiliary_profile_loader.h" |
| 12 #include "chrome/browser/autofill/personal_data_manager.h" |
| 13 |
| 14 void PersonalDataManager::LoadAuxiliaryProfiles() { |
| 15 AuxiliaryProfileLoaderAndroid profileLoader = AuxiliaryProfileLoaderAndroid(); |
| 16 AuxiliaryProfilesImpl impl(&auxiliary_profiles_, |
| 17 (IAuxiliaryProfileLoader*)(&profileLoader)); |
| 18 impl.GetContactsProfile(); |
| 19 } |
OLD | NEW |