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

Side by Side Diff: components/autofill/core/browser/personal_data_manager_mac.mm

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "components/autofill/browser/personal_data_manager.h" 5 #include "components/autofill/core/browser/personal_data_manager.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #import <AddressBook/AddressBook.h> 9 #import <AddressBook/AddressBook.h>
10 10
11 #include "base/format_macros.h" 11 #include "base/format_macros.h"
12 #include "base/guid.h" 12 #include "base/guid.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #import "base/mac/scoped_nsexception_enabler.h" 14 #import "base/mac/scoped_nsexception_enabler.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/memory/scoped_vector.h" 16 #include "base/memory/scoped_vector.h"
17 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "base/strings/sys_string_conversions.h" 18 #include "base/strings/sys_string_conversions.h"
19 #include "components/autofill/browser/autofill_country.h" 19 #include "components/autofill/core/browser/autofill_country.h"
20 #include "components/autofill/browser/autofill_profile.h" 20 #include "components/autofill/core/browser/autofill_profile.h"
21 #include "components/autofill/browser/phone_number.h" 21 #include "components/autofill/core/browser/phone_number.h"
22 #include "grit/component_strings.h" 22 #include "grit/component_strings.h"
23 #include "ui/base/l10n/l10n_util_mac.h" 23 #include "ui/base/l10n/l10n_util_mac.h"
24 24
25 namespace autofill { 25 namespace autofill {
26 namespace { 26 namespace {
27 27
28 const char kAddressBookOrigin[] = "OS X Address Book"; 28 const char kAddressBookOrigin[] = "OS X Address Book";
29 29
30 // This implementation makes use of the Address Book API. Profiles are 30 // This implementation makes use of the Address Book API. Profiles are
31 // generated that correspond to addresses in the "me" card that reside in the 31 // generated that correspond to addresses in the "me" card that reside in the
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 263
264 } // namespace 264 } // namespace
265 265
266 // Populate |auxiliary_profiles_| with the Address Book data. 266 // Populate |auxiliary_profiles_| with the Address Book data.
267 void PersonalDataManager::LoadAuxiliaryProfiles() { 267 void PersonalDataManager::LoadAuxiliaryProfiles() {
268 AuxiliaryProfilesImpl impl(&auxiliary_profiles_); 268 AuxiliaryProfilesImpl impl(&auxiliary_profiles_);
269 impl.GetAddressBookMeCard(app_locale_); 269 impl.GetAddressBookMeCard(app_locale_);
270 } 270 }
271 271
272 } // namespace autofill 272 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698