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

Side by Side Diff: chrome/browser/autofill/personal_data_manager_mac.mm

Issue 6931029: Set datapresent string to contain precisely those field types available in stored Autofill data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Signed and delivered Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/autofill/personal_data_manager.h" 5 #include "chrome/browser/autofill/personal_data_manager.h"
6 6
7 #import <AddressBook/AddressBook.h> 7 #import <AddressBook/AddressBook.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 profile->SetInfo(PHONE_FAX_NUMBER, number); 234 profile->SetInfo(PHONE_FAX_NUMBER, number);
235 profile->SetInfo(PHONE_FAX_CITY_CODE, city_code); 235 profile->SetInfo(PHONE_FAX_CITY_CODE, city_code);
236 profile->SetInfo(PHONE_FAX_COUNTRY_CODE, country_code); 236 profile->SetInfo(PHONE_FAX_COUNTRY_CODE, country_code);
237 } 237 }
238 } 238 }
239 } 239 }
240 240
241 } // namespace 241 } // namespace
242 242
243 // Populate |auxiliary_profiles_| with the Address Book data. 243 // Populate |auxiliary_profiles_| with the Address Book data.
244 void PersonalDataManager::LoadAuxiliaryProfiles() { 244 void PersonalDataManager::LoadAuxiliaryProfiles() const {
245 AuxiliaryProfilesImpl impl(&auxiliary_profiles_); 245 AuxiliaryProfilesImpl impl(&auxiliary_profiles_);
246 impl.GetAddressBookMeCard(); 246 impl.GetAddressBookMeCard();
247 } 247 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/personal_data_manager.cc ('k') | chrome/browser/autofill/personal_data_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698