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

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

Issue 13839013: Webdata Component tryjobs NOT FOR REVIEW (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: After WD/AF merge Created 7 years, 8 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/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/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "components/autofill/browser/autofill-inl.h"
16 #include "components/autofill/browser/autofill_country.h" 17 #include "components/autofill/browser/autofill_country.h"
17 #include "components/autofill/browser/autofill-inl.h"
18 #include "components/autofill/browser/autofill_field.h" 18 #include "components/autofill/browser/autofill_field.h"
19 #include "components/autofill/browser/autofill_metrics.h" 19 #include "components/autofill/browser/autofill_metrics.h"
20 #include "components/autofill/browser/form_group.h" 20 #include "components/autofill/browser/form_group.h"
21 #include "components/autofill/browser/form_structure.h" 21 #include "components/autofill/browser/form_structure.h"
22 #include "components/autofill/browser/personal_data_manager_observer.h" 22 #include "components/autofill/browser/personal_data_manager_observer.h"
23 #include "components/autofill/browser/phone_number.h" 23 #include "components/autofill/browser/phone_number.h"
24 #include "components/autofill/browser/phone_number_i18n.h" 24 #include "components/autofill/browser/phone_number_i18n.h"
25 #include "components/autofill/browser/validation.h" 25 #include "components/autofill/browser/validation.h"
26 #include "components/autofill/browser/webdata/autofill_webdata_service.h"
26 #include "components/autofill/common/autofill_pref_names.h" 27 #include "components/autofill/common/autofill_pref_names.h"
27 #include "components/user_prefs/user_prefs.h" 28 #include "components/user_prefs/user_prefs.h"
28 #include "components/webdata/autofill/autofill_webdata_service.h"
29 #include "content/public/browser/browser_context.h" 29 #include "content/public/browser/browser_context.h"
30 30
31 using content::BrowserContext; 31 using content::BrowserContext;
32 32
33 namespace { 33 namespace {
34 34
35 const string16::value_type kCreditCardPrefix[] = {'*', 0}; 35 const string16::value_type kCreditCardPrefix[] = {'*', 0};
36 36
37 template<typename T> 37 template<typename T>
38 class FormGroupMatchesByGUIDFunctor { 38 class FormGroupMatchesByGUIDFunctor {
(...skipping 960 matching lines...) Expand 10 before | Expand all | Expand 10 after
999 999
1000 void PersonalDataManager::set_metric_logger( 1000 void PersonalDataManager::set_metric_logger(
1001 const AutofillMetrics* metric_logger) { 1001 const AutofillMetrics* metric_logger) {
1002 metric_logger_.reset(metric_logger); 1002 metric_logger_.reset(metric_logger);
1003 } 1003 }
1004 1004
1005 void PersonalDataManager::set_browser_context( 1005 void PersonalDataManager::set_browser_context(
1006 content::BrowserContext* context) { 1006 content::BrowserContext* context) {
1007 browser_context_ = context; 1007 browser_context_ = context;
1008 } 1008 }
OLDNEW
« no previous file with comments | « components/autofill/browser/personal_data_manager.h ('k') | components/autofill/browser/personal_data_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698