OLD | NEW |
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/browser/personal_data_manager.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <functional> | 8 #include <functional> |
9 #include <iterator> | 9 #include <iterator> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/prefs/pref_service.h" | 13 #include "base/prefs/pref_service.h" |
| 14 #include "base/string_util.h" |
14 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
15 #include "base/utf_string_conversions.h" | 16 #include "base/utf_string_conversions.h" |
16 #include "components/autofill/browser/autofill-inl.h" | 17 #include "components/autofill/browser/autofill-inl.h" |
17 #include "components/autofill/browser/autofill_country.h" | 18 #include "components/autofill/browser/autofill_country.h" |
18 #include "components/autofill/browser/autofill_field.h" | 19 #include "components/autofill/browser/autofill_field.h" |
19 #include "components/autofill/browser/autofill_metrics.h" | 20 #include "components/autofill/browser/autofill_metrics.h" |
20 #include "components/autofill/browser/form_structure.h" | 21 #include "components/autofill/browser/form_structure.h" |
21 #include "components/autofill/browser/personal_data_manager_observer.h" | 22 #include "components/autofill/browser/personal_data_manager_observer.h" |
22 #include "components/autofill/browser/phone_number.h" | 23 #include "components/autofill/browser/phone_number.h" |
23 #include "components/autofill/browser/phone_number_i18n.h" | 24 #include "components/autofill/browser/phone_number_i18n.h" |
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1003 const AutofillMetrics* metric_logger) { | 1004 const AutofillMetrics* metric_logger) { |
1004 metric_logger_.reset(metric_logger); | 1005 metric_logger_.reset(metric_logger); |
1005 } | 1006 } |
1006 | 1007 |
1007 void PersonalDataManager::set_browser_context( | 1008 void PersonalDataManager::set_browser_context( |
1008 content::BrowserContext* context) { | 1009 content::BrowserContext* context) { |
1009 browser_context_ = context; | 1010 browser_context_ = context; |
1010 } | 1011 } |
1011 | 1012 |
1012 } // namespace autofill | 1013 } // namespace autofill |
OLD | NEW |