Index: chrome/browser/autofill/android/personal_data_manager_android.cc |
diff --git a/chrome/browser/autofill/android/personal_data_manager_android.cc b/chrome/browser/autofill/android/personal_data_manager_android.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3ec8b72ec06259b352f052f3fa0edde3a70bde6f |
--- /dev/null |
+++ b/chrome/browser/autofill/android/personal_data_manager_android.cc |
@@ -0,0 +1,18 @@ |
+// 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> |
Ilya Sherman
2013/03/05 00:42:38
nit: This doesn't seem to be used.
apiccion
2013/03/09 00:53:41
Done.
|
+#include "base/logging.h" |
Ilya Sherman
2013/03/05 00:42:38
nit: This doesn't seem to be used.
apiccion
2013/03/09 00:53:41
Done.
|
+#include "chrome/browser/autofill/android/auxiliary_profile_loader_android.h" |
Ilya Sherman
2013/03/05 00:42:38
nit: This doesn't seem to be used.
apiccion
2013/03/09 00:53:41
Done.
|
+#include "chrome/browser/autofill/android/auxiliary_profile_loader_impl_android.h" |
+#include "chrome/browser/autofill/android/auxiliary_profiles_android.h" |
+#include "chrome/browser/autofill/personal_data_manager.h" |
+ |
+void PersonalDataManager::LoadAuxiliaryProfiles() { |
+ autofill::AuxiliaryProfileLoaderImplAndroid profileLoader; |
+ autofill::AuxiliaryProfilesAndroid impl(profileLoader); |
+ impl.LoadContactsProfile(&auxiliary_profiles_.get()); |
+} |