| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |