Index: chrome/browser/autofill/personal_data_manager_android.cc |
diff --git a/chrome/browser/autofill/personal_data_manager_android.cc b/chrome/browser/autofill/personal_data_manager_android.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bdc9dc87f1a6e6527e1da36dcab4f8ebca10f5fb |
--- /dev/null |
+++ b/chrome/browser/autofill/personal_data_manager_android.cc |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 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 <vector> |
+#include "base/logging.h" |
+#include "chrome/browser/autofill/auxiliary_profile_impl_android.h" |
+#include "chrome/browser/autofill/auxiliary_profile_loader_android.h" |
+#include "chrome/browser/autofill/i_auxiliary_profile_loader.h" |
+#include "chrome/browser/autofill/personal_data_manager.h" |
+ |
+void PersonalDataManager::LoadAuxiliaryProfiles() { |
+ AuxiliaryProfileLoaderAndroid profileLoader = AuxiliaryProfileLoaderAndroid(); |
+ AuxiliaryProfilesImpl impl(&auxiliary_profiles_, |
+ (IAuxiliaryProfileLoader*)(&profileLoader)); |
+ impl.GetContactsProfile(); |
+} |