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

Side by Side Diff: components/autofill/core/browser/personal_data_manager.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/core/browser/personal_data_manager.h" 5 #include "components/autofill/core/browser/personal_data_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8
8 #include <algorithm> 9 #include <algorithm>
9 #include <list> 10 #include <list>
10 #include <map> 11 #include <map>
11 #include <string> 12 #include <string>
12 #include <utility> 13 #include <utility>
13 14
14 #include "base/i18n/case_conversion.h" 15 #include "base/i18n/case_conversion.h"
15 #include "base/i18n/timezone.h" 16 #include "base/i18n/timezone.h"
16 #include "base/profiler/scoped_tracker.h" 17 #include "base/profiler/scoped_tracker.h"
17 #include "base/strings/string_number_conversions.h" 18 #include "base/strings/string_number_conversions.h"
(...skipping 14 matching lines...) Expand all
32 #include "components/autofill/core/browser/phone_number.h" 33 #include "components/autofill/core/browser/phone_number.h"
33 #include "components/autofill/core/browser/phone_number_i18n.h" 34 #include "components/autofill/core/browser/phone_number_i18n.h"
34 #include "components/autofill/core/browser/validation.h" 35 #include "components/autofill/core/browser/validation.h"
35 #include "components/autofill/core/common/autofill_pref_names.h" 36 #include "components/autofill/core/common/autofill_pref_names.h"
36 #include "components/autofill/core/common/autofill_switches.h" 37 #include "components/autofill/core/common/autofill_switches.h"
37 #include "components/autofill/core/common/autofill_util.h" 38 #include "components/autofill/core/common/autofill_util.h"
38 #include "components/prefs/pref_service.h" 39 #include "components/prefs/pref_service.h"
39 #include "components/signin/core/browser/account_tracker_service.h" 40 #include "components/signin/core/browser/account_tracker_service.h"
40 #include "components/signin/core/browser/signin_manager.h" 41 #include "components/signin/core/browser/signin_manager.h"
41 #include "components/signin/core/common/signin_pref_names.h" 42 #include "components/signin/core/common/signin_pref_names.h"
42 #include "components/sync_driver/sync_service.h" 43 #include "components/sync/driver/sync_service.h"
43 #include "components/variations/variations_associated_data.h" 44 #include "components/variations/variations_associated_data.h"
44 #include "components/version_info/version_info.h" 45 #include "components/version_info/version_info.h"
45 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_da ta.h" 46 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_da ta.h"
46 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_fo rmatter.h" 47 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_fo rmatter.h"
47 48
48 namespace autofill { 49 namespace autofill {
49 namespace { 50 namespace {
50 51
51 using ::i18n::addressinput::AddressField; 52 using ::i18n::addressinput::AddressField;
52 using ::i18n::addressinput::GetStreetAddressLinesAsSingleLine; 53 using ::i18n::addressinput::GetStreetAddressLinesAsSingleLine;
(...skipping 1702 matching lines...) Expand 10 before | Expand all | Expand 10 after
1755 if (profile_to_merge->IsVerified()) 1756 if (profile_to_merge->IsVerified())
1756 break; 1757 break;
1757 } 1758 }
1758 } 1759 }
1759 } 1760 }
1760 AutofillMetrics::LogNumberOfProfilesRemovedDuringDedupe( 1761 AutofillMetrics::LogNumberOfProfilesRemovedDuringDedupe(
1761 profiles_to_delete->size()); 1762 profiles_to_delete->size());
1762 } 1763 }
1763 1764
1764 } // namespace autofill 1765 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698