Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Unified Diff: components/autofill/browser/android/personal_data_manager_android.cc

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/browser/android/personal_data_manager_android.cc
diff --git a/components/autofill/browser/android/personal_data_manager_android.cc b/components/autofill/browser/android/personal_data_manager_android.cc
deleted file mode 100644
index 36553140bb737b2d89c3f861834c36a8f01b475c..0000000000000000000000000000000000000000
--- a/components/autofill/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/browser/android/auxiliary_profile_loader_android.h"
-#include "components/autofill/browser/android/auxiliary_profiles_android.h"
-#include "components/autofill/browser/personal_data_manager.h"
-
-namespace autofill {
-
-void PersonalDataManager::LoadAuxiliaryProfiles() {
- 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

Powered by Google App Engine
This is Rietveld 408576698