diff options
Diffstat (limited to 'chromium/components/autofill/core/browser/android/personal_data_manager_android.cc')
-rw-r--r-- | chromium/components/autofill/core/browser/android/personal_data_manager_android.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/chromium/components/autofill/core/browser/android/personal_data_manager_android.cc b/chromium/components/autofill/core/browser/android/personal_data_manager_android.cc deleted file mode 100644 index 0fbfb187177..00000000000 --- a/chromium/components/autofill/core/browser/android/personal_data_manager_android.cc +++ /dev/null @@ -1,25 +0,0 @@ -// 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. - -// Populates default autofill profile from user's own Android contact. - -#include "components/autofill/core/browser/android/auxiliary_profile_loader_android.h" -#include "components/autofill/core/browser/android/auxiliary_profiles_android.h" -#include "components/autofill/core/browser/personal_data_manager.h" - -namespace autofill { - -void PersonalDataManager::LoadAuxiliaryProfiles() const { - auxiliary_profiles_.clear(); - autofill::AuxiliaryProfileLoaderAndroid profile_loader; - profile_loader.Init( - base::android::AttachCurrentThread(), - base::android::GetApplicationContext()); - if (profile_loader.GetHasPermissions()) { - autofill::AuxiliaryProfilesAndroid impl(profile_loader, app_locale_); - auxiliary_profiles_.push_back(impl.LoadContactsProfile().release()); - } -} - -} // namespace autofill |