Chromium Code Reviews| 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 "chrome/browser/autofill/android/auxiliary_profile_loader_android.h" | |
| 8 #include "chrome/browser/autofill/android/auxiliary_profiles_android.h" | |
| 9 #include "chrome/browser/autofill/personal_data_manager.h" | |
| 10 | |
| 11 void PersonalDataManager::LoadAuxiliaryProfiles() { | |
| 12 auxiliary_profiles_.clear(); | |
| 13 autofill::AuxiliaryProfileLoaderAndroid profileLoader; | |
|
Ilya Sherman
2013/03/09 01:42:58
nit: hacker_case (please try to fix the variable n
apiccion
2013/03/09 03:43:17
Done.
| |
| 14 profileLoader.Init( | |
| 15 base::android::AttachCurrentThread(), | |
| 16 base::android::GetApplicationContext()); | |
| 17 autofill::AuxiliaryProfilesAndroid impl(profileLoader); | |
| 18 auxiliary_profiles_.push_back(impl.LoadContactsProfile().release()); | |
| 19 } | |
| OLD | NEW |