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_loader.h" |
| 10 #include "chrome/browser/autofill/auxiliary_profile_loader_impl_android.h" |
| 11 #include "chrome/browser/autofill/auxiliary_profiles_android.h" |
| 12 #include "chrome/browser/autofill/personal_data_manager.h" |
| 13 |
| 14 void PersonalDataManager::LoadAuxiliaryProfiles() { |
| 15 AuxiliaryProfileLoaderImplAndroid profileLoader; |
| 16 AuxiliaryProfilesAndroid impl(&auxiliary_profiles_, |
| 17 (AuxiliaryProfileLoader*)(&profileLoader)); |
| 18 impl.GetContactsProfile(); |
| 19 } |
OLD | NEW |