summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/preferences_window_controller.mm
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 17:39:44 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-09 17:39:44 +0000
commit6842a3f8c00867e7964f5e66fb50d9a1875f7e55 (patch)
treef3bec4efb8d4a69b0855230956a4554e53323cb2 /chrome/browser/cocoa/preferences_window_controller.mm
parent539ad94fbc9ccd48bbc30d53db332eb31623821d (diff)
downloadchromium_src-6842a3f8c00867e7964f5e66fb50d9a1875f7e55.zip
chromium_src-6842a3f8c00867e7964f5e66fb50d9a1875f7e55.tar.gz
chromium_src-6842a3f8c00867e7964f5e66fb50d9a1875f7e55.tar.bz2
AutoFill Mac Address Book "me" card data translation.
Implements Mac Address Book "me" card integration with AutoFill feature. When the kAutoFillAuxiliaryProfilesEnabled preference is enabled, via the AutoFill preferences dialog, the active user's designated "me" card becomes available to AutoFill. That is, forms become aware of any name, address, email, and telephone number information residing in the user's "me" card. Small change to AutoFillDialog.xib to resize the preference check-box label width to accommodate new string. BUG=36496 TEST=PersonalDataManagerTest Review URL: http://codereview.chromium.org/668247 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41041 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/preferences_window_controller.mm')
-rw-r--r--chrome/browser/cocoa/preferences_window_controller.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/preferences_window_controller.mm b/chrome/browser/cocoa/preferences_window_controller.mm
index 5cce358..345d7dd 100644
--- a/chrome/browser/cocoa/preferences_window_controller.mm
+++ b/chrome/browser/cocoa/preferences_window_controller.mm
@@ -494,7 +494,8 @@ void PersonalDataManagerObserver::ShowAutoFillDialog(
if (!personal_data_manager)
return;
- std::vector<AutoFillProfile*> profiles = personal_data_manager->profiles();
+ std::vector<AutoFillProfile*> profiles =
+ personal_data_manager->web_profiles();
AutoFillProfile autofill_profile(ASCIIToUTF16(""), 0);
if (profiles.size() == 0) {
string16 new_profile_name =